diff --git a/NewLife.Remoting/Http/WebSocketServerCodec.cs b/NewLife.Remoting/Http/WebSocketServerCodec.cs
index 375520d..6ee370c 100644
--- a/NewLife.Remoting/Http/WebSocketServerCodec.cs
+++ b/NewLife.Remoting/Http/WebSocketServerCodec.cs
@@ -43,7 +43,7 @@ public override Boolean Close(IHandlerContext context, String reason)
var request = new HttpRequest();
if (request.Parse(pk) && request.IsCompleted)
{
- var ctx = new DefaultHttpContext(null, request, null, null)
+ var ctx = new DefaultHttpContext(session, request, null, null)
{
ServiceProvider = session as IServiceProvider
};
diff --git a/NewLife.Remoting/NewLife.Remoting.csproj b/NewLife.Remoting/NewLife.Remoting.csproj
index cd36604..188d470 100644
--- a/NewLife.Remoting/NewLife.Remoting.csproj
+++ b/NewLife.Remoting/NewLife.Remoting.csproj
@@ -50,7 +50,7 @@
-
+
diff --git a/Samples/IoTZero/IoTZero.csproj b/Samples/IoTZero/IoTZero.csproj
index 8de791f..2eb9b40 100644
--- a/Samples/IoTZero/IoTZero.csproj
+++ b/Samples/IoTZero/IoTZero.csproj
@@ -21,8 +21,8 @@
-
-
+
+
diff --git a/Samples/Zero.RpcServer/Zero.RpcServer.csproj b/Samples/Zero.RpcServer/Zero.RpcServer.csproj
index a3622f8..5aeb4fe 100644
--- a/Samples/Zero.RpcServer/Zero.RpcServer.csproj
+++ b/Samples/Zero.RpcServer/Zero.RpcServer.csproj
@@ -20,9 +20,9 @@
-
+
-
+
diff --git a/Test/Test.csproj b/Test/Test.csproj
index ff270fe..4a21d74 100644
--- a/Test/Test.csproj
+++ b/Test/Test.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/XUnitTest/XUnitTest.csproj b/XUnitTest/XUnitTest.csproj
index d34a408..736c1a9 100644
--- a/XUnitTest/XUnitTest.csproj
+++ b/XUnitTest/XUnitTest.csproj
@@ -10,12 +10,12 @@
-
+
-
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive