From 1e774cfcb06b0a5ee489b94f18c27be1521b440d Mon Sep 17 00:00:00 2001
From: Afifi <89879907+afifi-ins@users.noreply.github.com>
Date: Thu, 12 Oct 2023 21:51:04 +0300
Subject: [PATCH] Update WCF NetTcp Default Sample - Add .NET Core support
(#6208)
---
.../wcf/Basic/Binding/Net/Tcp/Default/CS/client/App.config | 5 +----
.../Basic/Binding/Net/Tcp/Default/CS/client/client.csproj | 3 ++-
.../wcf/Basic/Binding/Net/Tcp/Default/CS/service/App.config | 2 +-
.../Basic/Binding/Net/Tcp/Default/CS/service/service.csproj | 2 +-
4 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/App.config b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/App.config
index e638056193e..9174a43d29f 100644
--- a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/App.config
+++ b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/App.config
@@ -1,7 +1,6 @@
-
@@ -12,7 +11,5 @@
-->
-
-
-
+
diff --git a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/client.csproj b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/client.csproj
index ce5733c432b..aba46583692 100644
--- a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/client.csproj
+++ b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/client/client.csproj
@@ -2,7 +2,7 @@
net462;net6.0
Exe
- Client
+ Client
NetTcp
Microsoft Corporation
Windows Communication Foundation and Windows Workflow Foundation SDK
@@ -26,6 +26,7 @@
+
diff --git a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/App.config b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/App.config
index 19829c368b4..475300727b7 100644
--- a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/App.config
+++ b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/App.config
@@ -16,4 +16,4 @@
-
+
diff --git a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/service.csproj b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/service.csproj
index 207e3f2a479..e87ecc0c9d0 100644
--- a/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/service.csproj
+++ b/framework/wcf/Basic/Binding/Net/Tcp/Default/CS/service/service.csproj
@@ -10,7 +10,7 @@
Properties
Microsoft.Samples.NetTcp
service
- v4.8
+ v4.6.2
publish\