diff --git a/.openpublishing.redirection.core.json b/.openpublishing.redirection.core.json
index 7254f1554e0e0..5c2c04814d752 100644
--- a/.openpublishing.redirection.core.json
+++ b/.openpublishing.redirection.core.json
@@ -1126,11 +1126,11 @@
},
{
"source_path_from_root": "/docs/fundamentals/networking/tcp/tcp-services.md",
- "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp"
+ "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp-classes"
},
{
"source_path_from_root": "/docs/fundamentals/networking/tcp/tcp-overview.md",
- "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp"
+ "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp-classes"
}
]
}
diff --git a/.openpublishing.redirection.framework.json b/.openpublishing.redirection.framework.json
index 49ca13ef0245c..57ab29e1b621d 100644
--- a/.openpublishing.redirection.framework.json
+++ b/.openpublishing.redirection.framework.json
@@ -2483,11 +2483,11 @@
},
{
"source_path_from_root": "/docs/framework/network-programming/tcp-udp.md",
- "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp"
+ "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp-classes"
},
{
"source_path_from_root": "/docs/framework/network-programming/using-tcp-services.md",
- "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp"
+ "redirect_url": "/dotnet/fundamentals/networking/sockets/tcp-classes"
},
{
"source_path_from_root": "/docs/framework/network-programming/sockets.md",
diff --git a/docs/architecture/microservices/multi-container-microservice-net-applications/rabbitmq-event-bus-development-test-environment.md b/docs/architecture/microservices/multi-container-microservice-net-applications/rabbitmq-event-bus-development-test-environment.md
index 8102383fbe5c9..8791a9725ef0d 100644
--- a/docs/architecture/microservices/multi-container-microservice-net-applications/rabbitmq-event-bus-development-test-environment.md
+++ b/docs/architecture/microservices/multi-container-microservice-net-applications/rabbitmq-event-bus-development-test-environment.md
@@ -7,7 +7,7 @@ ms.date: 01/13/2021
[!INCLUDE [download-alert](../includes/download-alert.md)]
-We should start by saying that if you create your custom event bus based on RabbitMQ running in a container, as the eShopOnContainers application does, it should be used only for your development and test environments. Don't use it for your production environment, unless you are building it as a part of a production-ready service bus. A simple custom event bus might be missing many production-ready critical features that a commercial service bus has.
+We should start by saying that if you create your custom event bus based on [RabbitMQ](https://www.rabbitmq.com/) running in a container, as the eShopOnContainers application does, it should be used only for your development and test environments. Don't use it for your production environment, unless you are building it as a part of a production-ready service bus as described in the [Additional resources section below](/dotnet/architecture/microservices/multi-container-microservice-net-applications/rabbitmq-event-bus-development-test-environment#additional-resources). A simple custom event bus might be missing many production-ready critical features that a commercial service bus has.
One of the event bus custom implementations in eShopOnContainers is basically a library using the RabbitMQ API. (There's another implementation based on Azure Service Bus.)
@@ -112,13 +112,16 @@ For production scenarios check the additional resources below, specific for Rabb
A production-ready solution with support for RabbitMQ.
+- **NServiceBus** - Fully-supported commercial service bus with advanced management and monitoring tooling for .NET \
+
+
- **EasyNetQ** - Open Source .NET API client for RabbitMQ \
-- **MassTransit** \
+- **MassTransit** - Free, open-source distributed application framework for .NET \
-- **Rebus** - Open source .NET Service Bus
+- **Rebus** - Open source .NET Service Bus \
> [!div class="step-by-step"]
diff --git a/docs/azure/includes/dotnet-all.md b/docs/azure/includes/dotnet-all.md
index efd5f46ee5c03..3a201b0f48908 100644
--- a/docs/azure/includes/dotnet-all.md
+++ b/docs/azure/includes/dotnet-all.md
@@ -14,7 +14,7 @@
| Azure.Identity.BrokeredAuthentication | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Identity.BrokeredAuthentication/1.0.0-beta.3) | | GitHub [1.0.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Identity.BrokeredAuthentication_1.0.0-beta.3/sdk/identity/Azure.Identity.BrokeredAuthentication/) |
| Cognitive Search | NuGet [11.4.0](https://www.nuget.org/packages/Azure.Search.Documents/11.4.0)
NuGet [11.5.0-beta.2](https://www.nuget.org/packages/Azure.Search.Documents/11.5.0-beta.2) | [docs](/dotnet/api/overview/azure/Search.Documents-readme) | GitHub [11.4.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Search.Documents_11.4.0/sdk/search/Azure.Search.Documents/)
GitHub [11.5.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Search.Documents_11.5.0-beta.2/sdk/search/Azure.Search.Documents/) |
| Communication Chat | NuGet [1.1.1](https://www.nuget.org/packages/Azure.Communication.Chat/1.1.1) | [docs](/dotnet/api/overview/azure/Communication.Chat-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Chat_1.1.1/sdk/communication/Azure.Communication.Chat/) |
-| Communication Common | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Communication.Common/1.2.0) | [docs](/dotnet/api/overview/azure/Communication.Common-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Common_1.2.0/sdk/communication/Azure.Communication.Common/) |
+| Communication Common | NuGet [1.2.1](https://www.nuget.org/packages/Azure.Communication.Common/1.2.1) | [docs](/dotnet/api/overview/azure/Communication.Common-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Common_1.2.1/sdk/communication/Azure.Communication.Common/) |
| Communication Identity | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Communication.Identity/1.2.0) | [docs](/dotnet/api/overview/azure/Communication.Identity-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Identity_1.2.0/sdk/communication/Azure.Communication.Identity/) |
| Communication Network Traversal | NuGet [1.0.0](https://www.nuget.org/packages/Azure.Communication.NetworkTraversal/1.0.0)
NuGet [1.1.0-beta.1](https://www.nuget.org/packages/Azure.Communication.NetworkTraversal/1.1.0-beta.1) | [docs](/dotnet/api/overview/azure/Communication.NetworkTraversal-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.NetworkTraversal_1.0.0/sdk/communication/Azure.Communication.NetworkTraversal/)
GitHub [1.1.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.NetworkTraversal_1.1.0-beta.1/sdk/communication/Azure.Communication.NetworkTraversal/) |
| Communication Phone Numbers | NuGet [1.0.1](https://www.nuget.org/packages/Azure.Communication.PhoneNumbers/1.0.1)
NuGet [1.1.0-beta.2](https://www.nuget.org/packages/Azure.Communication.PhoneNumbers/1.1.0-beta.2) | [docs](/dotnet/api/overview/azure/Communication.PhoneNumbers-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.PhoneNumbers_1.0.1/sdk/communication/Azure.Communication.PhoneNumbers/)
GitHub [1.1.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.PhoneNumbers_1.1.0-beta.2/sdk/communication/Azure.Communication.PhoneNumbers/) |
@@ -333,7 +333,7 @@
| Azure Video Analyzer Edge | NuGet [1.0.0-beta.6](https://www.nuget.org/packages/Azure.Media.VideoAnalyzer.Edge/1.0.0-beta.6) | | GitHub [1.0.0-beta.6](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Media.VideoAnalyzer.Edge_1.0.0-beta.6/sdk/videoanalyzer/Azure.Media.VideoAnalyzer.Edge/) |
| Azure.Analytics.Purview.Administration | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.Analytics.Purview.Administration/1.0.0-beta.1) | | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Analytics.Purview.Administration_1.0.0-beta.1/sdk/purview/Azure.Analytics.Purview.Administration/) |
| Azure.Identity.BrokeredAuthentication | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Identity.BrokeredAuthentication/1.0.0-beta.3) | | GitHub [1.0.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Identity.BrokeredAuthentication_1.0.0-beta.3/sdk/identity/Azure.Identity.BrokeredAuthentication/) |
-| Batch | NuGet [15.3.0](https://www.nuget.org/packages/Microsoft.Azure.Batch/15.3.0) | | GitHub [15.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Batch_15.3.0/sdk/batch/Microsoft.Azure.Batch/) |
+| Batch | NuGet [15.4.0](https://www.nuget.org/packages/Microsoft.Azure.Batch/15.4.0) | | GitHub [15.4.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Batch_15.4.0/sdk/batch/Microsoft.Azure.Batch/) |
| Batch - Apps Cryptography | NuGet [1.1.1.4](https://www.nuget.org/packages/Microsoft.Azure.Batch.Apps.Cryptography/1.1.1.4) | | |
| Batch - Conventions Files | NuGet [4.0.0](https://www.nuget.org/packages/Microsoft.Azure.Batch.Conventions.Files/4.0.0) | | GitHub [4.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Batch.Conventions.Files_4.0.0/sdk/batch/Microsoft.Azure.Batch.Conventions.Files/) |
| Batch - File Staging | NuGet [9.0.0](https://www.nuget.org/packages/Microsoft.Azure.Batch.FileStaging/9.0.0) | | GitHub [9.0.0](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/batch/Microsoft.Azure.Batch.FileStaging) |
@@ -359,7 +359,7 @@
| Common - Authentication | NuGet [1.7.0-preview](https://www.nuget.org/packages/Microsoft.Azure.Common.Authentication/1.7.0-preview) | | |
| Common - Dependencies | NuGet [1.0.0](https://www.nuget.org/packages/Microsoft.Azure.Common.Dependencies/1.0.0) | | |
| Communication Chat | NuGet [1.1.1](https://www.nuget.org/packages/Azure.Communication.Chat/1.1.1) | [docs](/dotnet/api/overview/azure/Communication.Chat-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Chat_1.1.1/sdk/communication/Azure.Communication.Chat/) |
-| Communication Common | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Communication.Common/1.2.0) | [docs](/dotnet/api/overview/azure/Communication.Common-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Common_1.2.0/sdk/communication/Azure.Communication.Common/) |
+| Communication Common | NuGet [1.2.1](https://www.nuget.org/packages/Azure.Communication.Common/1.2.1) | [docs](/dotnet/api/overview/azure/Communication.Common-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Common_1.2.1/sdk/communication/Azure.Communication.Common/) |
| Communication Identity | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Communication.Identity/1.2.0) | [docs](/dotnet/api/overview/azure/Communication.Identity-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Identity_1.2.0/sdk/communication/Azure.Communication.Identity/) |
| Communication Network Traversal | NuGet [1.0.0](https://www.nuget.org/packages/Azure.Communication.NetworkTraversal/1.0.0)
NuGet [1.1.0-beta.1](https://www.nuget.org/packages/Azure.Communication.NetworkTraversal/1.1.0-beta.1) | [docs](/dotnet/api/overview/azure/Communication.NetworkTraversal-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.NetworkTraversal_1.0.0/sdk/communication/Azure.Communication.NetworkTraversal/)
GitHub [1.1.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.NetworkTraversal_1.1.0-beta.1/sdk/communication/Azure.Communication.NetworkTraversal/) |
| Communication Phone Numbers | NuGet [1.0.1](https://www.nuget.org/packages/Azure.Communication.PhoneNumbers/1.0.1)
NuGet [1.1.0-beta.2](https://www.nuget.org/packages/Azure.Communication.PhoneNumbers/1.1.0-beta.2) | [docs](/dotnet/api/overview/azure/Communication.PhoneNumbers-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.PhoneNumbers_1.0.1/sdk/communication/Azure.Communication.PhoneNumbers/)
GitHub [1.1.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.PhoneNumbers_1.1.0-beta.2/sdk/communication/Azure.Communication.PhoneNumbers/) |
diff --git a/docs/azure/includes/dotnet-new.md b/docs/azure/includes/dotnet-new.md
index 653dae060b6d2..dce549a0826cf 100644
--- a/docs/azure/includes/dotnet-new.md
+++ b/docs/azure/includes/dotnet-new.md
@@ -14,7 +14,7 @@
| Azure.Identity.BrokeredAuthentication | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Identity.BrokeredAuthentication/1.0.0-beta.3) | | GitHub [1.0.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Identity.BrokeredAuthentication_1.0.0-beta.3/sdk/identity/Azure.Identity.BrokeredAuthentication/) |
| Cognitive Search | NuGet [11.4.0](https://www.nuget.org/packages/Azure.Search.Documents/11.4.0)
NuGet [11.5.0-beta.2](https://www.nuget.org/packages/Azure.Search.Documents/11.5.0-beta.2) | [docs](/dotnet/api/overview/azure/Search.Documents-readme) | GitHub [11.4.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Search.Documents_11.4.0/sdk/search/Azure.Search.Documents/)
GitHub [11.5.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Search.Documents_11.5.0-beta.2/sdk/search/Azure.Search.Documents/) |
| Communication Chat | NuGet [1.1.1](https://www.nuget.org/packages/Azure.Communication.Chat/1.1.1) | [docs](/dotnet/api/overview/azure/Communication.Chat-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Chat_1.1.1/sdk/communication/Azure.Communication.Chat/) |
-| Communication Common | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Communication.Common/1.2.0) | [docs](/dotnet/api/overview/azure/Communication.Common-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Common_1.2.0/sdk/communication/Azure.Communication.Common/) |
+| Communication Common | NuGet [1.2.1](https://www.nuget.org/packages/Azure.Communication.Common/1.2.1) | [docs](/dotnet/api/overview/azure/Communication.Common-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Common_1.2.1/sdk/communication/Azure.Communication.Common/) |
| Communication Identity | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Communication.Identity/1.2.0) | [docs](/dotnet/api/overview/azure/Communication.Identity-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.Identity_1.2.0/sdk/communication/Azure.Communication.Identity/) |
| Communication Network Traversal | NuGet [1.0.0](https://www.nuget.org/packages/Azure.Communication.NetworkTraversal/1.0.0)
NuGet [1.1.0-beta.1](https://www.nuget.org/packages/Azure.Communication.NetworkTraversal/1.1.0-beta.1) | [docs](/dotnet/api/overview/azure/Communication.NetworkTraversal-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.NetworkTraversal_1.0.0/sdk/communication/Azure.Communication.NetworkTraversal/)
GitHub [1.1.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.NetworkTraversal_1.1.0-beta.1/sdk/communication/Azure.Communication.NetworkTraversal/) |
| Communication Phone Numbers | NuGet [1.0.1](https://www.nuget.org/packages/Azure.Communication.PhoneNumbers/1.0.1)
NuGet [1.1.0-beta.2](https://www.nuget.org/packages/Azure.Communication.PhoneNumbers/1.1.0-beta.2) | [docs](/dotnet/api/overview/azure/Communication.PhoneNumbers-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.PhoneNumbers_1.0.1/sdk/communication/Azure.Communication.PhoneNumbers/)
GitHub [1.1.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Communication.PhoneNumbers_1.1.0-beta.2/sdk/communication/Azure.Communication.PhoneNumbers/) |
diff --git a/docs/core/deploying/snippets/deploy-with-vs/csharp/deploy.csproj b/docs/core/deploying/snippets/deploy-with-vs/csharp/deploy.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/docs/core/deploying/snippets/deploy-with-vs/csharp/deploy.csproj
+++ b/docs/core/deploying/snippets/deploy-with-vs/csharp/deploy.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/docs/core/deploying/snippets/deploy-with-vs/vb/deploy.vbproj b/docs/core/deploying/snippets/deploy-with-vs/vb/deploy.vbproj
index a3639624ddc76..7ce8f4559987d 100644
--- a/docs/core/deploying/snippets/deploy-with-vs/vb/deploy.vbproj
+++ b/docs/core/deploying/snippets/deploy-with-vs/vb/deploy.vbproj
@@ -3,7 +3,7 @@
Exe
deploy
- netcoreapp3.1
+ net6.0
diff --git a/docs/core/deploying/snippets/deploy-with-vs/xml/invariant.csproj b/docs/core/deploying/snippets/deploy-with-vs/xml/invariant.csproj
index 5eddba068c137..26199ea6004ff 100644
--- a/docs/core/deploying/snippets/deploy-with-vs/xml/invariant.csproj
+++ b/docs/core/deploying/snippets/deploy-with-vs/xml/invariant.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/vb/ShowCase/ShowCase.vbproj b/docs/core/tutorials/snippets/library-with-visual-studio/vb/ShowCase/ShowCase.vbproj
index 106dd2b932cfe..d000f99ee5a5c 100644
--- a/docs/core/tutorials/snippets/library-with-visual-studio/vb/ShowCase/ShowCase.vbproj
+++ b/docs/core/tutorials/snippets/library-with-visual-studio/vb/ShowCase/ShowCase.vbproj
@@ -3,7 +3,7 @@
Exe
ShowCase
- netcoreapp3.1
+ net6.0
diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj b/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj
index f974dfdf77df7..aef793b160cba 100644
--- a/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj
+++ b/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj
@@ -2,8 +2,7 @@
StringLibraryTest
- netcoreapp3.1
-
+ net6.0
false
diff --git a/docs/core/tutorials/snippets/with-visual-studio/vb/HelloWorld.vbproj b/docs/core/tutorials/snippets/with-visual-studio/vb/HelloWorld.vbproj
index 77147fcda5adf..5a795607e9104 100644
--- a/docs/core/tutorials/snippets/with-visual-studio/vb/HelloWorld.vbproj
+++ b/docs/core/tutorials/snippets/with-visual-studio/vb/HelloWorld.vbproj
@@ -3,7 +3,7 @@
Exe
vb_with_visual_studio
- netcoreapp3.1
+ net6.0
diff --git a/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj b/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj
index 4abc160460e79..0b25f7464f448 100644
--- a/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj
+++ b/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/docs/standard/assembly/snippets/identify/visual-basic/AssemblySnippets.vbproj b/docs/standard/assembly/snippets/identify/visual-basic/AssemblySnippets.vbproj
index c443eb2b8925c..5cd8aed2e80dd 100644
--- a/docs/standard/assembly/snippets/identify/visual-basic/AssemblySnippets.vbproj
+++ b/docs/standard/assembly/snippets/identify/visual-basic/AssemblySnippets.vbproj
@@ -3,7 +3,7 @@
Exe
AssemblySnippets
- netcoreapp3.1
+ net6.0
diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/formattable/formattable.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/formattable/formattable.vbproj
index dc08caa01c558..cf4298b6765a2 100644
--- a/docs/standard/base-types/snippets/best-practices-strings/vb/formattable/formattable.vbproj
+++ b/docs/standard/base-types/snippets/best-practices-strings/vb/formattable/formattable.vbproj
@@ -3,7 +3,7 @@
Exe
formattable
- netcoreapp3.1
+ net6.0
diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/tostring/tostring.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/tostring/tostring.vbproj
index 0da99dc25ac5c..9801613a77b1e 100644
--- a/docs/standard/base-types/snippets/best-practices-strings/vb/tostring/tostring.vbproj
+++ b/docs/standard/base-types/snippets/best-practices-strings/vb/tostring/tostring.vbproj
@@ -3,7 +3,7 @@
Exe
tostring
- netcoreapp3.1
+ net6.0
diff --git a/docs/standard/parallel-programming/custom-partitioners-for-plinq-and-tpl.md b/docs/standard/parallel-programming/custom-partitioners-for-plinq-and-tpl.md
index b8f716e60486b..dfaf5977dd82e 100644
--- a/docs/standard/parallel-programming/custom-partitioners-for-plinq-and-tpl.md
+++ b/docs/standard/parallel-programming/custom-partitioners-for-plinq-and-tpl.md
@@ -29,7 +29,7 @@ Some overloads of the on the enumerator, the enumerator provides the partition with one list element. In the case of PLINQ and , the partition is a instance. Because requests are happening concurrently on multiple threads, access to the current index is synchronized.
-[!code-csharp[TPL_Partitioners#04](../../../samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioner02.cs#OrderableListPartitioner)]
+[!code-csharp[TPL_Partitioners#04](../../../samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/01/partitioner02.cs#OrderableListPartitioner)]
[!code-vb[TPL_Partitioners#04](../../../samples/snippets/visualbasic/VS_Snippets_Misc/tpl_partitioners/vb/dynamicpartitioner.vb#04)]
This is an example of chunk partitioning, with each chunk consisting of one element. By providing more elements at a time, you could reduce the contention over the lock and theoretically achieve faster performance. However, at some point, larger chunks might require additional load-balancing logic in order to keep all threads busy until all the work is done.
diff --git a/docs/visual-basic/programming-guide/concepts/linq/snippets/linq.vbproj b/docs/visual-basic/programming-guide/concepts/linq/snippets/linq.vbproj
index a27a3c5b7f72a..65eb4bdd219bb 100644
--- a/docs/visual-basic/programming-guide/concepts/linq/snippets/linq.vbproj
+++ b/docs/visual-basic/programming-guide/concepts/linq/snippets/linq.vbproj
@@ -3,7 +3,7 @@
Exe
linq
- netcoreapp3.1
+ net6.0
diff --git a/docs/whats-new/dotnet-docs-2022-07-01.md b/docs/whats-new/dotnet-docs-2022-07-01.md
deleted file mode 100644
index 15029f15b06d5..0000000000000
--- a/docs/whats-new/dotnet-docs-2022-07-01.md
+++ /dev/null
@@ -1,113 +0,0 @@
----
-title: ".NET docs: What's new for July 2022"
-description: "What's new in the .NET docs for July 2022."
-ms.date: 08/01/2022
----
-
-# .NET docs: What's new for July 2022
-
-Welcome to what's new in the .NET docs for July 2022. This article lists some of the major changes to docs during this period.
-
-## .NET breaking changes
-
-### New articles
-
-- [Default authentication scheme](../core/compatibility/aspnet-core/7.0/default-authentication-scheme.md)
-- [Dynamic X509ChainPolicy verification time](../core/compatibility/cryptography/7.0/x509chainpolicy-verification-time.md)
-- [Middleware no longer defers to endpoint with null request delegate](../core/compatibility/aspnet-core/7.0/middleware-null-requestdelegate.md)
-- [x86 host path on 64-bit Windows](../core/compatibility/deployment/7.0/x86-host-path.md)
-- [Changes to reflection invoke API exceptions](../core/compatibility/core-libraries/7.0/reflection-invoke-exceptions.md)
-
-## .NET Framework
-
-### New articles
-
-- [COR_PRF_HANDLE_TYPE Enumeration](../framework/unmanaged-api/profiling/cor-prf-handle-type-enumeration.md)
-- [ICorProfilerInfo13::CreateHandle Method](../framework/unmanaged-api/profiling/icorprofilerinfo13-createhandle-method.md)
-- [ICorProfilerInfo13::DestroyHandle Method](../framework/unmanaged-api/profiling/icorprofilerinfo13-destroyhandle-method.md)
-- [ICorProfilerInfo13::GetObjectIDFromHandle Method](../framework/unmanaged-api/profiling/icorprofilerinfo13-getobjectidfromhandle-method.md)
-- [ICorProfilerInfo13 Interface](../framework/unmanaged-api/profiling/icorprofilerinfo13-interface.md)
-
-## .NET fundamentals
-
-### New articles
-
-- [Source generation for platform invokes](../standard/native-interop/pinvoke-source-generation.md)
-- [Default authentication scheme](../core/compatibility/aspnet-core/7.0/default-authentication-scheme.md)
-- [Dynamic X509ChainPolicy verification time](../core/compatibility/cryptography/7.0/x509chainpolicy-verification-time.md)
-- [Middleware no longer defers to endpoint with null request delegate](../core/compatibility/aspnet-core/7.0/middleware-null-requestdelegate.md)
-- [NETSDK1082: PackageReference to Microsoft.AspNetCore.App is not necessary](../core/tools/sdk-errors/netsdk1082.md)
-- [NETSDK1100: Set the EnableWindowsTargeting property to true](../core/tools/sdk-errors/netsdk1100.md)
-- [NETSDK1112: The runtime pack was not downloaded](../core/tools/sdk-errors/netsdk1112.md)
-- [NETSDK1135: SupportedOSPlatformVersion can't be higher than TargetPlatformVersion](../core/tools/sdk-errors/netsdk1135.md)
-- [NETSDK1136: The target framework must be Windows](../core/tools/sdk-errors/netsdk1136.md)
-- [NETSDK1137: Don't use the Microsoft.NET.Sdk.WindowsDesktop SDK](../core/tools/sdk-errors/netsdk1137.md)
-- [NETSDK1138: The target framework is out of support](../core/tools/sdk-errors/netsdk1138.md)
-- [NETSDK1182: Targeting .NET 6.0 or higher in Visual Studio 2019 is not supported](../core/tools/sdk-errors/netsdk1182.md)
-- [Prefer 'null' check over type check (IDE0150)](../fundamentals/code-analysis/style-rules/ide0150.md)
-- [Simplify property pattern (IDE0170)](../fundamentals/code-analysis/style-rules/ide0170.md)
-- [Use tuple to swap values (IDE0180)](../fundamentals/code-analysis/style-rules/ide0180.md)
-- [Namespace declaration preferences (IDE0160 and IDE0161)](../fundamentals/code-analysis/style-rules/ide0160-ide0161.md)
-- [x86 host path on 64-bit Windows](../core/compatibility/deployment/7.0/x86-host-path.md)
-- [Diagnostic monitoring and collection utility (dotnet-monitor)](../core/diagnostics/dotnet-monitor.md)
-- [dotnet dev-certs](../core/tools/dotnet-dev-certs.md)
-- [Changes to reflection invoke API exceptions](../core/compatibility/core-libraries/7.0/reflection-invoke-exceptions.md)
-
-## C# language
-
-### New articles
-
-- [required modifier (C# Reference)](../csharp/language-reference/keywords/required.md)
-- [Resolve nullable warnings](../csharp/language-reference/compiler-messages/nullable-warnings.md)
-
-### Updated articles
-
-- [Properties](../csharp/properties.md) - C# 11: required members
-
-## F# language
-
-### New articles
-
-- [FS0703: Expected type parameter, not unit-of-measure parameter](../fsharp/language-reference/compiler-messages/fs0703.md)
-
-## Microsoft Orleans
-
-### New articles
-
-- [Deploy Orleans to Azure Container Apps](../orleans/deployment/deploy-to-azure-container-apps.md)
-
-## Community contributors
-
-The following people contributed to the .NET docs during this period. Thank you! Learn how to contribute by following the links under "Get involved" in the [what's new landing page](index.yml).
-
-- [GitHubPang](https://github.com/GitHubPang) 
-- [pkulikov](https://github.com/pkulikov) - Petr Kulikov 
-- [petarmari266](https://github.com/petarmari266) 
-- [Youssef1313](https://github.com/Youssef1313) - Youssef Victor 
-- [abhith](https://github.com/abhith) - Abhith Rajan 
-- [berkid89](https://github.com/berkid89) - Daniel Berki 
-- [cermakp](https://github.com/cermakp) - Pavel Čermák 
-- [chrisnas](https://github.com/chrisnas) 
-- [eatdrinksleepcode](https://github.com/eatdrinksleepcode) - David Nelson 
-- [FlyingDutchman1965](https://github.com/FlyingDutchman1965) 
-- [hickford](https://github.com/hickford) - M Hickford 
-- [hyoshioka0128](https://github.com/hyoshioka0128) - Hiroshi Yoshioka 
-- [JRBANCEL](https://github.com/JRBANCEL) - Jean-Rémy Bancel 
-- [lalberto8085](https://github.com/lalberto8085) - Luis Alvarez 
-- [lexey-evergreen](https://github.com/lexey-evergreen) 
-- [mducharm](https://github.com/mducharm) 
-- [mialkin](https://github.com/mialkin) - Aleksei Mialkin 
-- [neman](https://github.com/neman) - Nemanja Đorđević 
-- [niksamoyloff](https://github.com/niksamoyloff) 
-- [nojaf](https://github.com/nojaf) - Florian Verdonck 
-- [nxtn](https://github.com/nxtn) - Next Turn 
-- [peteraritchie](https://github.com/peteraritchie) - Peter Ritchie 
-- [pimbrouwers](https://github.com/pimbrouwers) - Pim 
-- [RobEin](https://github.com/RobEin) - Robert Einhorn 
-- [rsoulard-cadenza](https://github.com/rsoulard-cadenza) 
-- [SeanKilleen](https://github.com/SeanKilleen) - Sean Killeen 
-- [teo-tsirpanis](https://github.com/teo-tsirpanis) - Theodore Tsirpanis 
-- [tymokvo](https://github.com/tymokvo) - Tyler Kvochick 
-- [tymtam2](https://github.com/tymtam2) - Tymek Majewski 
-- [windperson](https://github.com/windperson) - Chen Yu Pao 
-- [zjxjwxk](https://github.com/zjxjwxk) - Xinkang Wu 
diff --git a/docs/whats-new/dotnet-docs-2022-10-01.md b/docs/whats-new/dotnet-docs-2022-10-01.md
new file mode 100644
index 0000000000000..28c6237118da9
--- /dev/null
+++ b/docs/whats-new/dotnet-docs-2022-10-01.md
@@ -0,0 +1,121 @@
+---
+title: ".NET docs: What's new for October 2022"
+description: "What's new in the .NET docs for October 2022."
+ms.date: 11/01/2022
+---
+
+# .NET docs: What's new for October 2022
+
+Welcome to what's new in the .NET docs for October 2022. This article lists some of the major changes to docs during this period.
+
+## .NET breaking changes
+
+### New articles
+
+- [Authentication in WebAssembly apps](../core/compatibility/aspnet-core/7.0/wasm-app-authentication.md)
+- [Tracking linked cache entries](../core/compatibility/core-libraries/7.0/memorycache-tracking.md)
+- [Fallback file endpoints](../core/compatibility/aspnet-core/7.0/fallback-file-endpoints.md)
+- [Endpoint metadata provider interface changes](../core/compatibility/aspnet-core/7.0/iendpointmetadataprovider-changes.md)
+- [Output caching API changes](../core/compatibility/aspnet-core/7.0/output-caching-renames.md)
+- [Repeated XML elements include index](../core/compatibility/extensions/6.0/repeated-xml-elements.md)
+- [ClientWebSocket.ConnectAsync throws new exception](../core/compatibility/networking/7.0/connectasync-argumentexception.md)
+
+## .NET fundamentals
+
+### New articles
+
+- [dotnet workload command](../core/tools/dotnet-workload.md)
+- [Authentication in WebAssembly apps](../core/compatibility/aspnet-core/7.0/wasm-app-authentication.md)
+- [Containerize a .NET app with dotnet publish](../core/docker/publish-as-container.md)
+- [Networking telemetry in .NET](../fundamentals/networking/networking-telemetry.md)
+- [Tracking linked cache entries](../core/compatibility/core-libraries/7.0/memorycache-tracking.md)
+- [Fallback file endpoints](../core/compatibility/aspnet-core/7.0/fallback-file-endpoints.md)
+- [Endpoint metadata provider interface changes](../core/compatibility/aspnet-core/7.0/iendpointmetadataprovider-changes.md)
+- [Output caching API changes](../core/compatibility/aspnet-core/7.0/output-caching-renames.md)
+- [CA2020: Prevent behavioral change caused by built-in operators of IntPtr/UIntPtr](../fundamentals/code-analysis/quality-rules/ca2020.md)
+- [CA2260: Implement generic math interfaces correctly](../fundamentals/code-analysis/quality-rules/ca2260.md)
+- [Repeated XML elements include index](../core/compatibility/extensions/6.0/repeated-xml-elements.md)
+- [ClientWebSocket.ConnectAsync throws new exception](../core/compatibility/networking/7.0/connectasync-argumentexception.md)
+- [.NET regular expression source generators](../standard/base-types/regular-expression-source-generators.md)
+- [Tutorial: Use custom marshallers in source-generated P/Invokes](../standard/native-interop/tutorial-custom-marshaller.md)
+
+### Updated articles
+
+- [Code quality rules](../fundamentals/code-analysis/quality-rules/index.md) - Tweak code analysis rules
+
+## .NET IoT libraries
+
+### New articles
+
+- [Use GPIO for binary input](../iot/tutorials/gpio-input.md)
+
+## C# language
+
+### New articles
+
+- [Compiler Error CS8210](../csharp/language-reference/compiler-messages/cs8210.md)
+- [Compiler Error CS1751](../csharp/language-reference/compiler-messages/cs1751.md)
+- [Compiler Error CS8515](../csharp/language-reference/compiler-messages/cs8515.md)
+- [Compiler Error CS8140](../csharp/language-reference/compiler-messages/cs8140.md)
+- [Compiler Error CS8139](../csharp/language-reference/compiler-messages/cs8139.md)
+- [Compiler Error CS8132](../csharp/language-reference/compiler-messages/cs8132.md)
+- [Compiler Error CS8131](../csharp/language-reference/compiler-messages/cs8131.md)
+- [Compiler Error CS8130](../csharp/language-reference/compiler-messages/cs8130.md)
+- [Compiler Error CS8129](../csharp/language-reference/compiler-messages/cs8129.md)
+- [Compiler Error CS8127](../csharp/language-reference/compiler-messages/cs8127.md)
+- [Compiler Error CS8125](../csharp/language-reference/compiler-messages/cs8125.md)
+- [Compiler Error CS8124](../csharp/language-reference/compiler-messages/cs8124.md)
+
+### Updated articles
+
+- [Tutorial: Make HTTP requests in a .NET console app using C\#](../csharp/tutorials/console-webapiclient.md)
+
+## F# language
+
+### Updated articles
+
+- [F# code formatting guidelines](../fsharp/style-guide/formatting.md) - Fsharp multiline type annotations
+
+## Community contributors
+
+The following people contributed to the .NET docs during this period. Thank you! Learn how to contribute by following the links under "Get involved" in the [what's new landing page](index.yml).
+
+- [nschonni](https://github.com/nschonni) - Nick Schonning 
+- [peteraritchie](https://github.com/peteraritchie) - Peter Ritchie 
+- [pkulikov](https://github.com/pkulikov) - Petr Kulikov 
+- [udidahan](https://github.com/udidahan) - Udi Dahan 
+- [GitHubPang](https://github.com/GitHubPang) 
+- [ankitwww](https://github.com/ankitwww) - Ankit Kashyap 
+- [balazsberes](https://github.com/balazsberes) - Balazs Beres 
+- [bschaeublin](https://github.com/bschaeublin) - Benjamin Schäublin 
+- [JJS](https://github.com/JJS) 
+- [luizhlelis](https://github.com/luizhlelis) - Luiz Lelis 
+- [Youssef1313](https://github.com/Youssef1313) - Youssef Victor 
+- [Marusyk](https://github.com/Marusyk) - Roman Marusyk 
+- [nojaf](https://github.com/nojaf) - Florian Verdonck 
+- [patricksadowski](https://github.com/patricksadowski) - Patrick Sadowski 
+- [vcrobe](https://github.com/vcrobe) 
+- [wenz](https://github.com/wenz) - Christian Wenz 
+- [cabrera-carlos](https://github.com/cabrera-carlos) - Carlos Cabrera 
+- [Chazzersize](https://github.com/Chazzersize) - John 
+- [collinstevens](https://github.com/collinstevens) - Collin Stevens 
+- [DuncanSungWKim](https://github.com/DuncanSungWKim) - Duncan Sung W. Kim 
+- [eduardopelitti](https://github.com/eduardopelitti) - Eduardo Pelitti 
+- [eNeRGy164](https://github.com/eNeRGy164) - Michaël Hompus 
+- [ign3u5](https://github.com/ign3u5) - Chris Farmer 
+- [itsbadr](https://github.com/itsbadr) - Badr 
+- [j-d-b](https://github.com/j-d-b) - Jacob Brady 
+- [JiaqiWang18](https://github.com/JiaqiWang18) - Jiaqi (Jacky) Wang 
+- [jonathlan](https://github.com/jonathlan) - Jonathan 
+- [juliushardt](https://github.com/juliushardt) - Julius Hardt 
+- [michpara](https://github.com/michpara) - Michelle Paradis 
+- [mikeblakeuk](https://github.com/mikeblakeuk) - Michael Blake 
+- [peter-dye](https://github.com/peter-dye) - Peter Dye 
+- [pjanotti](https://github.com/pjanotti) - Paulo Janotti 
+- [SeanKilleen](https://github.com/SeanKilleen) - Sean Killeen 
+- [softwarepronto](https://github.com/softwarepronto) 
+- [SunnieShine](https://github.com/SunnieShine) - Qitian Zhang 
+- [teo-tsirpanis](https://github.com/teo-tsirpanis) - Theodore Tsirpanis 
+- [valoTN](https://github.com/valoTN) 
+- [WhitWaldo](https://github.com/WhitWaldo) - Whit Waldo 
+- [wmundev](https://github.com/wmundev) - Wilson Mun 
diff --git a/docs/whats-new/index.yml b/docs/whats-new/index.yml
index b150a968dac13..8c6886549de29 100644
--- a/docs/whats-new/index.yml
+++ b/docs/whats-new/index.yml
@@ -5,19 +5,19 @@ summary: Welcome to what's new in .NET docs. Use this page to quickly find the l
metadata:
title: .NET documentation what's new?
description: Learn about new and updated content in .NET docs.
- ms.date: 10/01/2022
+ ms.date: 11/01/2022
ms.topic: landing-page
landingContent:
- title: Find .NET updates
linkLists:
- linkListType: whats-new
links:
+ - text: October 2022
+ url: dotnet-docs-2022-10-01.md
- text: September 2022
url: dotnet-docs-2022-09-01.md
- text: August 2022
url: dotnet-docs-2022-08-01.md
- - text: July 2022
- url: dotnet-docs-2022-07-01.md
- title: Find language updates
linkLists:
- linkListType: whats-new
diff --git a/docs/whats-new/toc.yml b/docs/whats-new/toc.yml
index 47db4cc387199..1c2f226d6c375 100644
--- a/docs/whats-new/toc.yml
+++ b/docs/whats-new/toc.yml
@@ -3,9 +3,9 @@ items:
href: index.yml
expanded: true
items:
+ - name: October 2022
+ href: dotnet-docs-2022-10-01.md
- name: September 2022
href: dotnet-docs-2022-09-01.md
- name: August 2022
href: dotnet-docs-2022-08-01.md
- - name: July 2022
- href: dotnet-docs-2022-07-01.md
diff --git a/dotnet-versionsweeper.json b/dotnet-versionsweeper.json
index 9e2a3c0771c10..bf0a4ed094dbc 100644
--- a/dotnet-versionsweeper.json
+++ b/dotnet-versionsweeper.json
@@ -2,11 +2,11 @@
"outOfSupportWithinDays": 60,
"ignore":[
"samples/**/*.*",
- "**/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Vsix/MakeConst.Vsix.csproj",
+ "**/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/**/*.csproj",
"**/docs/csharp/programming-guide/concepts/async/snippets/multiple-tasks/MultipleTasks.csproj",
- "**/docs/framework/migration-guide/snippets/csharp/FrameworkVersions.csproj",
- "**/docs/framework/migration-guide/snippets/visual-basic/FrameworkVersions.vbproj",
- "**/docs/framework/migration-guide/snippets/csharp/FrameworkVersions.csproj",
- "**/docs/core/porting/snippets/upgrade-assistant-wcf-framework/CalculatorSample/**/*.csproj"
+ "**/docs/framework/migration-guide/snippets/**/*.csproj",
+ "**/docs/framework/migration-guide/snippets/**/*.vbproj",
+ "**/docs/core/porting/snippets/upgrade-assistant-wcf-framework/CalculatorSample/**/*.csproj",
+ "**/docs/core/whats-new/snippets/**/*.csproj"
]
}
diff --git a/samples/snippets/core/testing/unit-testing-best-practices/csharp/after/unit-testing-best-practices-after.csproj b/samples/snippets/core/testing/unit-testing-best-practices/csharp/after/unit-testing-best-practices-after.csproj
index c3c2431a948e2..4963c26dbb74b 100644
--- a/samples/snippets/core/testing/unit-testing-best-practices/csharp/after/unit-testing-best-practices-after.csproj
+++ b/samples/snippets/core/testing/unit-testing-best-practices/csharp/after/unit-testing-best-practices-after.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/core/testing/unit-testing-best-practices/csharp/before/unit-testing-best-practices-before.csproj b/samples/snippets/core/testing/unit-testing-best-practices/csharp/before/unit-testing-best-practices-before.csproj
index c3c2431a948e2..4963c26dbb74b 100644
--- a/samples/snippets/core/testing/unit-testing-best-practices/csharp/before/unit-testing-best-practices-before.csproj
+++ b/samples/snippets/core/testing/unit-testing-best-practices/csharp/before/unit-testing-best-practices-before.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/core/testing/unit-testing-best-practices/csharp/unit-testing-best-practices/unit-testing-best-practices.csproj b/samples/snippets/core/testing/unit-testing-best-practices/csharp/unit-testing-best-practices/unit-testing-best-practices.csproj
index cb631906963a9..dbc151713b6d0 100644
--- a/samples/snippets/core/testing/unit-testing-best-practices/csharp/unit-testing-best-practices/unit-testing-best-practices.csproj
+++ b/samples/snippets/core/testing/unit-testing-best-practices/csharp/unit-testing-best-practices/unit-testing-best-practices.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/core/testing/unit-testing-using-dotnet-test/csharp/PrimeService.Tests/PrimeService.Tests.csproj b/samples/snippets/core/testing/unit-testing-using-dotnet-test/csharp/PrimeService.Tests/PrimeService.Tests.csproj
index 4f78cee5361bd..92e31eb3c5fff 100644
--- a/samples/snippets/core/testing/unit-testing-using-dotnet-test/csharp/PrimeService.Tests/PrimeService.Tests.csproj
+++ b/samples/snippets/core/testing/unit-testing-using-dotnet-test/csharp/PrimeService.Tests/PrimeService.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj b/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj
index 16e305999d012..2fdf7824479bd 100644
--- a/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj
+++ b/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/core/testing/unit-testing-vb-dotnet-test/vb/PrimeService.Tests/PrimeService.Tests.vbproj b/samples/snippets/core/testing/unit-testing-vb-dotnet-test/vb/PrimeService.Tests/PrimeService.Tests.vbproj
index 182c0a30343de..67196b1f02f0d 100644
--- a/samples/snippets/core/testing/unit-testing-vb-dotnet-test/vb/PrimeService.Tests/PrimeService.Tests.vbproj
+++ b/samples/snippets/core/testing/unit-testing-vb-dotnet-test/vb/PrimeService.Tests/PrimeService.Tests.vbproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj b/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj
index 5e700cf4ba0c7..44ba0a377138a 100644
--- a/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj
+++ b/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/core/testing/unit-testing-vb-nunit/vb/PrimeService.Tests/PrimeService.Tests.vbproj b/samples/snippets/core/testing/unit-testing-vb-nunit/vb/PrimeService.Tests/PrimeService.Tests.vbproj
index 78bb92de74041..633117a9a127e 100644
--- a/samples/snippets/core/testing/unit-testing-vb-nunit/vb/PrimeService.Tests/PrimeService.Tests.vbproj
+++ b/samples/snippets/core/testing/unit-testing-vb-nunit/vb/PrimeService.Tests/PrimeService.Tests.vbproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/csharp/NullableIntroduction/NullableIntroduction/NullableIntroduction.csproj b/samples/snippets/csharp/NullableIntroduction/NullableIntroduction/NullableIntroduction.csproj
index f126932be394a..78245ceaa1826 100644
--- a/samples/snippets/csharp/NullableIntroduction/NullableIntroduction/NullableIntroduction.csproj
+++ b/samples/snippets/csharp/NullableIntroduction/NullableIntroduction/NullableIntroduction.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
8.0
enable
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/Cryptography.SmartCardCSP/CS/cryptography.smartcardcsp.csproj b/samples/snippets/csharp/VS_Snippets_CLR/Cryptography.SmartCardCSP/CS/cryptography.smartcardcsp.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/Cryptography.SmartCardCSP/CS/cryptography.smartcardcsp.csproj
+++ b/samples/snippets/csharp/VS_Snippets_CLR/Cryptography.SmartCardCSP/CS/cryptography.smartcardcsp.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementAsymmetric/cs/decryptxml.csproj b/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementAsymmetric/cs/decryptxml.csproj
index ec8ca60c2c9c0..59880967bed79 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementAsymmetric/cs/decryptxml.csproj
+++ b/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementAsymmetric/cs/decryptxml.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementX509/cs/decryptxml.csproj b/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementX509/cs/decryptxml.csproj
index ec8ca60c2c9c0..59880967bed79 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementX509/cs/decryptxml.csproj
+++ b/samples/snippets/csharp/VS_Snippets_CLR/HowToDecryptXMLElementX509/cs/decryptxml.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementAsymmetric/cs/encryptxml.csproj b/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementAsymmetric/cs/encryptxml.csproj
index ec8ca60c2c9c0..59880967bed79 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementAsymmetric/cs/encryptxml.csproj
+++ b/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementAsymmetric/cs/encryptxml.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementX509/cs/encryptxml.csproj b/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementX509/cs/encryptxml.csproj
index ec8ca60c2c9c0..59880967bed79 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementX509/cs/encryptxml.csproj
+++ b/samples/snippets/csharp/VS_Snippets_CLR/HowToEncryptXMLElementX509/cs/encryptxml.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/eventsoverview.csproj b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/eventsoverview.csproj
new file mode 100644
index 0000000000000..0be2a52725e5e
--- /dev/null
+++ b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/eventsoverview.csproj
@@ -0,0 +1,11 @@
+
+
+
+ net6.0
+ disable
+ true
+ Exe
+ ConsoleApplication2.ProgramTwo
+
+
+
\ No newline at end of file
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programnodata.cs b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programnodata.cs
index 654c0db5078de..ea92dd0b743c6 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programnodata.cs
+++ b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programnodata.cs
@@ -3,7 +3,7 @@
namespace ConsoleApplication1
{
- class Program
+ class ProgramOne
{
static void Main(string[] args)
{
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programtruncated.cs b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programtruncated.cs
index ac747b434e5b2..3507c52fb8a80 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programtruncated.cs
+++ b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programtruncated.cs
@@ -1,9 +1,9 @@
using System;
-namespace ConsoleApplication1
+namespace ConsoleApplication2
{
//
- class Program
+ class ProgramTwo
{
static void Main()
{
@@ -27,8 +27,7 @@ class Counter
protected virtual void OnThresholdReached(EventArgs e)
{
- EventHandler handler = ThresholdReached;
- handler?.Invoke(this, e);
+ ThresholdReached?.Invoke(this, e);
}
// provide remaining implementation for the class
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdata.cs b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdata.cs
index 3a49caa9e1bac..5700f9b2bdb6d 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdata.cs
+++ b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdata.cs
@@ -1,9 +1,9 @@
//
using System;
-namespace ConsoleApplication1
+namespace ConsoleApplication3
{
- class Program
+ class ProgramThree
{
static void Main(string[] args)
{
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdelegate.cs b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdelegate.cs
index b063190ff9467..7ef1d2fd7ba5e 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdelegate.cs
+++ b/samples/snippets/csharp/VS_Snippets_CLR/eventsoverview/cs/programwithdelegate.cs
@@ -1,9 +1,9 @@
//
using System;
-namespace ConsoleApplication1
+namespace ConsoleApplication4
{
- class Program
+ class ProgramFour
{
static void Main(string[] args)
{
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/generatingahash/cs/generatingahash.csproj b/samples/snippets/csharp/VS_Snippets_CLR/generatingahash/cs/generatingahash.csproj
index ec8ca60c2c9c0..59880967bed79 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/generatingahash/cs/generatingahash.csproj
+++ b/samples/snippets/csharp/VS_Snippets_CLR/generatingahash/cs/generatingahash.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_CLR/verifyingahash/cs/verifyingahash.csproj b/samples/snippets/csharp/VS_Snippets_CLR/verifyingahash/cs/verifyingahash.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/VS_Snippets_CLR/verifyingahash/cs/verifyingahash.csproj
+++ b/samples/snippets/csharp/VS_Snippets_CLR/verifyingahash/cs/verifyingahash.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioners.cs b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/00/partitioners.cs
similarity index 100%
rename from samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioners.cs
rename to samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/00/partitioners.cs
diff --git a/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioners.csproj b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/00/partitioners.csproj
similarity index 80%
rename from samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioners.csproj
rename to samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/00/partitioners.csproj
index 1f6fffd9d0e66..be7275dafb5cd 100644
--- a/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioners.csproj
+++ b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/00/partitioners.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioner02.cs b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/01/partitioner02.cs
similarity index 100%
rename from samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioner02.cs
rename to samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/01/partitioner02.cs
diff --git a/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioner02.csproj b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/01/partitioner02.csproj
similarity index 80%
rename from samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioner02.csproj
rename to samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/01/partitioner02.csproj
index 56d1c07552b45..feb0af8d76b67 100644
--- a/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partitioner02.csproj
+++ b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/01/partitioner02.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partioners.sln b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partioners.sln
new file mode 100644
index 0000000000000..3a414c08a3c01
--- /dev/null
+++ b/samples/snippets/csharp/VS_Snippets_Misc/tpl_partitioners/cs/partioners.sln
@@ -0,0 +1,28 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31903.59
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "partitioners", "00\partitioners.csproj", "{5039F67C-943F-4492-8077-9B61B551A439}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "partitioner02", "01\partitioner02.csproj", "{9C9AC3FC-3173-4913-AE7A-4C5D619CD325}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5039F67C-943F-4492-8077-9B61B551A439}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5039F67C-943F-4492-8077-9B61B551A439}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5039F67C-943F-4492-8077-9B61B551A439}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5039F67C-943F-4492-8077-9B61B551A439}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9C9AC3FC-3173-4913-AE7A-4C5D619CD325}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9C9AC3FC-3173-4913-AE7A-4C5D619CD325}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9C9AC3FC-3173-4913-AE7A-4C5D619CD325}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9C9AC3FC-3173-4913-AE7A-4C5D619CD325}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/samples/snippets/csharp/VS_Snippets_Misc/tpldataflow_readwrite/cs/dataflowreadwrite.csproj b/samples/snippets/csharp/VS_Snippets_Misc/tpldataflow_readwrite/cs/dataflowreadwrite.csproj
index 1d6fc0a94e62c..b6acdae945742 100644
--- a/samples/snippets/csharp/VS_Snippets_Misc/tpldataflow_readwrite/cs/dataflowreadwrite.csproj
+++ b/samples/snippets/csharp/VS_Snippets_Misc/tpldataflow_readwrite/cs/dataflowreadwrite.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
DataflowReadWrite
diff --git a/samples/snippets/csharp/VS_Snippets_VBCSharp/csLINQJoinOperation/CS/Sandbox.csproj b/samples/snippets/csharp/VS_Snippets_VBCSharp/csLINQJoinOperation/CS/Sandbox.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/VS_Snippets_VBCSharp/csLINQJoinOperation/CS/Sandbox.csproj
+++ b/samples/snippets/csharp/VS_Snippets_VBCSharp/csLINQJoinOperation/CS/Sandbox.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/attributes/attributes.csproj b/samples/snippets/csharp/attributes/attributes.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/attributes/attributes.csproj
+++ b/samples/snippets/csharp/attributes/attributes.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/buffers/MyBuffers.csproj b/samples/snippets/csharp/buffers/MyBuffers.csproj
index cb631906963a9..dbc151713b6d0 100644
--- a/samples/snippets/csharp/buffers/MyBuffers.csproj
+++ b/samples/snippets/csharp/buffers/MyBuffers.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/delegates-and-events/delegates-and-events.csproj b/samples/snippets/csharp/delegates-and-events/delegates-and-events.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/delegates-and-events/delegates-and-events.csproj
+++ b/samples/snippets/csharp/delegates-and-events/delegates-and-events.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/getting-started/console-linq/console-linq.csproj b/samples/snippets/csharp/getting-started/console-linq/console-linq.csproj
index 9acff6d2afa81..74954604db79d 100644
--- a/samples/snippets/csharp/getting-started/console-linq/console-linq.csproj
+++ b/samples/snippets/csharp/getting-started/console-linq/console-linq.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/getting-started/console-teleprompter/console-teleprompter.csproj b/samples/snippets/csharp/getting-started/console-teleprompter/console-teleprompter.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/getting-started/console-teleprompter/console-teleprompter.csproj
+++ b/samples/snippets/csharp/getting-started/console-teleprompter/console-teleprompter.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/getting-started/console-webapiclient/webapiclient.csproj b/samples/snippets/csharp/getting-started/console-webapiclient/webapiclient.csproj
index 426d7658b50c6..bd9584e3a2e02 100644
--- a/samples/snippets/csharp/getting-started/console-webapiclient/webapiclient.csproj
+++ b/samples/snippets/csharp/getting-started/console-webapiclient/webapiclient.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/getting_started/ClassLibraryProjects/ShowCase/ShowCase.csproj b/samples/snippets/csharp/getting_started/ClassLibraryProjects/ShowCase/ShowCase.csproj
index b4765d1b27c18..551bb25c83c81 100644
--- a/samples/snippets/csharp/getting_started/ClassLibraryProjects/ShowCase/ShowCase.csproj
+++ b/samples/snippets/csharp/getting_started/ClassLibraryProjects/ShowCase/ShowCase.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/getting_started/ClassLibraryProjects/StringLibraryTest/StringLibraryTest.csproj b/samples/snippets/csharp/getting_started/ClassLibraryProjects/StringLibraryTest/StringLibraryTest.csproj
index b9f6d20f6139d..6069bb0cdf29d 100644
--- a/samples/snippets/csharp/getting_started/ClassLibraryProjects/StringLibraryTest/StringLibraryTest.csproj
+++ b/samples/snippets/csharp/getting_started/ClassLibraryProjects/StringLibraryTest/StringLibraryTest.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/csharp/how-to/conversions/conversions.csproj b/samples/snippets/csharp/how-to/conversions/conversions.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/how-to/conversions/conversions.csproj
+++ b/samples/snippets/csharp/how-to/conversions/conversions.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/how-to/strings/strings.csproj b/samples/snippets/csharp/how-to/strings/strings.csproj
index 526cb5899dbf7..66231aed9b3ee 100644
--- a/samples/snippets/csharp/how-to/strings/strings.csproj
+++ b/samples/snippets/csharp/how-to/strings/strings.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
HowToStrings
true
diff --git a/samples/snippets/csharp/interfaces/Program.cs b/samples/snippets/csharp/interfaces/Program.cs
index 5b1b0df2b4343..26783738ead65 100644
--- a/samples/snippets/csharp/interfaces/Program.cs
+++ b/samples/snippets/csharp/interfaces/Program.cs
@@ -7,7 +7,7 @@ class Program
static void Main(string[] args)
{
InterfaceSnippets.TestInterfaces();
- Properties.Examples();
+ // Properties.Examples();
Indexers.Examples();
}
}
diff --git a/samples/snippets/csharp/interfaces/indexers.cs b/samples/snippets/csharp/interfaces/indexers.cs
index b6d576de3abf7..f5a09e6dc8e02 100644
--- a/samples/snippets/csharp/interfaces/indexers.cs
+++ b/samples/snippets/csharp/interfaces/indexers.cs
@@ -45,7 +45,7 @@ public static void Examples()
{
//
IndexerClass test = new IndexerClass();
- System.Random rand = new System.Random();
+ System.Random rand = System.Random.Shared;
// Call the indexer to initialize its elements.
for (int i = 0; i < 10; i++)
{
diff --git a/samples/snippets/csharp/interfaces/interfaces.csproj b/samples/snippets/csharp/interfaces/interfaces.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/interfaces/interfaces.csproj
+++ b/samples/snippets/csharp/interfaces/interfaces.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/Program.cs b/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/Program.cs
index 1b4d54987e005..517f03a4c63a8 100644
--- a/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/Program.cs
+++ b/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/Program.cs
@@ -8,7 +8,7 @@ static void Main(string[] args)
{
InParameterModifier.Examples();
OutParameterModifier.Examples();
- RefParameterModifier.Examples();
+ // RefParameterModifier.Examples();
}
}
}
diff --git a/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj b/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj
index e538d8ed991f6..7b0a783f42395 100644
--- a/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj
+++ b/samples/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
InRefOutModifier
diff --git a/samples/snippets/csharp/language-reference/keywords/volatile/volatile.csproj b/samples/snippets/csharp/language-reference/keywords/volatile/volatile.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/language-reference/keywords/volatile/volatile.csproj
+++ b/samples/snippets/csharp/language-reference/keywords/volatile/volatile.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/objectoriented/objectoriented.csproj b/samples/snippets/csharp/objectoriented/objectoriented.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/objectoriented/objectoriented.csproj
+++ b/samples/snippets/csharp/objectoriented/objectoriented.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/programming-guide/classes-and-structs/object-collection-initializers/object-collection-initializers.csproj b/samples/snippets/csharp/programming-guide/classes-and-structs/object-collection-initializers/object-collection-initializers.csproj
index 242f2bcc947a5..96d52e9e0c6db 100644
--- a/samples/snippets/csharp/programming-guide/classes-and-structs/object-collection-initializers/object-collection-initializers.csproj
+++ b/samples/snippets/csharp/programming-guide/classes-and-structs/object-collection-initializers/object-collection-initializers.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
object_collection_initializers
object_collection_initializers.Program
diff --git a/samples/snippets/csharp/programming-guide/string-to-number/convert/convert.csproj b/samples/snippets/csharp/programming-guide/string-to-number/convert/convert.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/programming-guide/string-to-number/convert/convert.csproj
+++ b/samples/snippets/csharp/programming-guide/string-to-number/convert/convert.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse/parse-tryparse.csproj b/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse/parse-tryparse.csproj
index 3f4f0a01f661f..16b3ea291d15d 100644
--- a/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse/parse-tryparse.csproj
+++ b/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse/parse-tryparse.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
parse_tryparse
diff --git a/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse2/parse-tryparse2.csproj b/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse2/parse-tryparse2.csproj
index 44e9295335556..48539573182b1 100644
--- a/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse2/parse-tryparse2.csproj
+++ b/samples/snippets/csharp/programming-guide/string-to-number/parse-tryparse2/parse-tryparse2.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
parse_tryparse2
diff --git a/samples/snippets/csharp/safe-efficient-code/benchmark/benchmark.csproj b/samples/snippets/csharp/safe-efficient-code/benchmark/benchmark.csproj
index e2d5ea690fd8d..ec62b77d71588 100644
--- a/samples/snippets/csharp/safe-efficient-code/benchmark/benchmark.csproj
+++ b/samples/snippets/csharp/safe-efficient-code/benchmark/benchmark.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj b/samples/snippets/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj
index 29268d7de333a..bd5ff6ca3796f 100644
--- a/samples/snippets/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj
+++ b/samples/snippets/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/serialization/serialization.csproj b/samples/snippets/csharp/serialization/serialization.csproj
index fafda84c52db7..21843d2817847 100644
--- a/samples/snippets/csharp/serialization/serialization.csproj
+++ b/samples/snippets/csharp/serialization/serialization.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
7.3
diff --git a/samples/snippets/csharp/tutorials/attributes/Program.cs b/samples/snippets/csharp/tutorials/attributes/Program.cs
index 632ae40d0ff74..5c9554e24b4ef 100644
--- a/samples/snippets/csharp/tutorials/attributes/Program.cs
+++ b/samples/snippets/csharp/tutorials/attributes/Program.cs
@@ -7,6 +7,7 @@
namespace ConsoleApplication
{
+#pragma warning disable CS0612
public class Program
{
public static void Main(string[] args)
@@ -59,7 +60,7 @@ public class ThisClass
{
}
//
-
+#pragma warning restore CS0612
//
public class MySpecialAttribute : Attribute
{
@@ -116,10 +117,12 @@ public string Name
}
//
+/*
//
public class GotchaAttribute : Attribute
{
- public GotchaAttribute(Foo myClass, string str) {
+ public GotchaAttribute(Foo myClass, string str)
+ {
}
}
//
@@ -130,4 +133,5 @@ public class AttributeFail
{
}
//
+*/
}
diff --git a/samples/snippets/csharp/tutorials/attributes/attributes.csproj b/samples/snippets/csharp/tutorials/attributes/attributes.csproj
index 96868b4f13ed3..adbde6e0619fe 100644
--- a/samples/snippets/csharp/tutorials/attributes/attributes.csproj
+++ b/samples/snippets/csharp/tutorials/attributes/attributes.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
\ No newline at end of file
diff --git a/samples/snippets/csharp/tutorials/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj b/samples/snippets/csharp/tutorials/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj
index f90651bd9f00a..d5421a65e5e51 100644
--- a/samples/snippets/csharp/tutorials/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj
+++ b/samples/snippets/csharp/tutorials/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
customer_relationship
8.0
diff --git a/samples/snippets/csharp/tutorials/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj b/samples/snippets/csharp/tutorials/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj
index ed8e54b9b925e..48a1d06fbcd80 100644
--- a/samples/snippets/csharp/tutorials/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj
+++ b/samples/snippets/csharp/tutorials/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
customer_relationship
diff --git a/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj b/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj
index 2ff5455bbde14..13cba40363805 100644
--- a/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj
+++ b/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
8.0
enable
false
diff --git a/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader/SimpleFeedReader.csproj b/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader/SimpleFeedReader.csproj
index 6313aa1e9b97c..72dabd8da2763 100644
--- a/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader/SimpleFeedReader.csproj
+++ b/samples/snippets/csharp/tutorials/nullable-reference-migration/finished/SimpleFeedReader/SimpleFeedReader.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
8.0
enable
diff --git a/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj b/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj
index 2b72f97b23163..4de9d163c8989 100644
--- a/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj
+++ b/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader.Tests/SimpleFeedReader.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
false
diff --git a/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader/SimpleFeedReader.csproj b/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader/SimpleFeedReader.csproj
index ed8718bdce578..ab9ce5a6be0da 100644
--- a/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader/SimpleFeedReader.csproj
+++ b/samples/snippets/csharp/tutorials/nullable-reference-migration/start/SimpleFeedReader/SimpleFeedReader.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj b/samples/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj
+++ b/samples/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/csharp/versioning/new/new.csproj b/samples/snippets/csharp/versioning/new/new.csproj
index 96868b4f13ed3..adbde6e0619fe 100644
--- a/samples/snippets/csharp/versioning/new/new.csproj
+++ b/samples/snippets/csharp/versioning/new/new.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
\ No newline at end of file
diff --git a/samples/snippets/csharp/versioning/override/override.csproj b/samples/snippets/csharp/versioning/override/override.csproj
index 96868b4f13ed3..adbde6e0619fe 100644
--- a/samples/snippets/csharp/versioning/override/override.csproj
+++ b/samples/snippets/csharp/versioning/override/override.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
\ No newline at end of file
diff --git a/samples/snippets/csharp/xunit-test/xunit-test.csproj b/samples/snippets/csharp/xunit-test/xunit-test.csproj
index cc192e3f7885f..80df653c77dc8 100644
--- a/samples/snippets/csharp/xunit-test/xunit-test.csproj
+++ b/samples/snippets/csharp/xunit-test/xunit-test.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/fsharp/fssamples.fsproj b/samples/snippets/fsharp/fssamples.fsproj
index b7bf1d81288b3..79367e1a6ca32 100644
--- a/samples/snippets/fsharp/fssamples.fsproj
+++ b/samples/snippets/fsharp/fssamples.fsproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
preview
diff --git a/samples/snippets/standard/async/async-and-await/vb/AsyncFirstExampleVB.vbproj b/samples/snippets/standard/async/async-and-await/vb/AsyncFirstExampleVB.vbproj
index b51a84d4cbc13..49c6173cd820f 100644
--- a/samples/snippets/standard/async/async-and-await/vb/AsyncFirstExampleVB.vbproj
+++ b/samples/snippets/standard/async/async-and-await/vb/AsyncFirstExampleVB.vbproj
@@ -1,8 +1,8 @@
-
+
WinExe
- netcoreapp3.1
+ net6.0-windows
AsyncFirstExampleVB
true
diff --git a/samples/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj b/samples/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj
index 390c2f01ad539..d125e53c301d1 100644
--- a/samples/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj
+++ b/samples/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
Visual_Studio_Projects
diff --git a/samples/snippets/standard/buffers/memory-t/owner/owner.csproj b/samples/snippets/standard/buffers/memory-t/owner/owner.csproj
index 390c2f01ad539..d125e53c301d1 100644
--- a/samples/snippets/standard/buffers/memory-t/owner/owner.csproj
+++ b/samples/snippets/standard/buffers/memory-t/owner/owner.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
Visual_Studio_Projects
diff --git a/samples/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj b/samples/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj
index 390c2f01ad539..d125e53c301d1 100644
--- a/samples/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj
+++ b/samples/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
Visual_Studio_Projects
diff --git a/samples/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj b/samples/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj
index b3cd0ddb4a10a..35fa976eb5bf5 100644
--- a/samples/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj
+++ b/samples/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
void_returning
diff --git a/samples/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj b/samples/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj
index b3cd0ddb4a10a..35fa976eb5bf5 100644
--- a/samples/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj
+++ b/samples/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
void_returning
diff --git a/samples/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj b/samples/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj
index b3cd0ddb4a10a..35fa976eb5bf5 100644
--- a/samples/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj
+++ b/samples/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
void_returning
diff --git a/samples/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj b/samples/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj
index b3cd0ddb4a10a..35fa976eb5bf5 100644
--- a/samples/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj
+++ b/samples/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
void_returning
diff --git a/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj b/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj
+++ b/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj b/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj
+++ b/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj b/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj
+++ b/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj b/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj
+++ b/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj b/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj
+++ b/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj b/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj
+++ b/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj b/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj
index cb8ba686e1947..5ba46a7f20701 100644
--- a/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj
+++ b/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj b/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj
+++ b/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj b/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj
+++ b/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj b/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj
index 9e74e458cbb8d..cf874cafda8d9 100644
--- a/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj
+++ b/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj b/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj
index a759230054403..e8ddb4bccf367 100644
--- a/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj
+++ b/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj b/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj
+++ b/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/InMemorySample/InMemorySample.csproj b/samples/snippets/standard/data/sqlite/InMemorySample/InMemorySample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/InMemorySample/InMemorySample.csproj
+++ b/samples/snippets/standard/data/sqlite/InMemorySample/InMemorySample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj b/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj
+++ b/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj b/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj
+++ b/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj b/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj
+++ b/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj b/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj
index d5adc472b88bd..196fb0ab33db2 100644
--- a/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj
+++ b/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj b/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj
index b209ffcd3897e..9d54fbc1b4e17 100644
--- a/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj
+++ b/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj b/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj
index db40377d7662c..d4e91197deb68 100644
--- a/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj
+++ b/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj b/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj
index 55c7e8d3e5381..fd87af43ce768 100644
--- a/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj
+++ b/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/datetime/calendars/current-era/cs/work-with-calendars.csproj b/samples/snippets/standard/datetime/calendars/current-era/cs/work-with-calendars.csproj
index 36dcf630fa3f5..d6dc14e45cd31 100644
--- a/samples/snippets/standard/datetime/calendars/current-era/cs/work-with-calendars.csproj
+++ b/samples/snippets/standard/datetime/calendars/current-era/cs/work-with-calendars.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
work_with_calendars
diff --git a/samples/snippets/standard/datetime/calendars/current-era/vb/vb.vbproj b/samples/snippets/standard/datetime/calendars/current-era/vb/vb.vbproj
index 06c20d64f8a2c..7c3e628458075 100644
--- a/samples/snippets/standard/datetime/calendars/current-era/vb/vb.vbproj
+++ b/samples/snippets/standard/datetime/calendars/current-era/vb/vb.vbproj
@@ -3,7 +3,7 @@
Exe
vb
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/datetime/calendars/gannen/cs/gannen-fmt.csproj b/samples/snippets/standard/datetime/calendars/gannen/cs/gannen-fmt.csproj
index c8e6921428a17..ee695deaf553d 100644
--- a/samples/snippets/standard/datetime/calendars/gannen/cs/gannen-fmt.csproj
+++ b/samples/snippets/standard/datetime/calendars/gannen/cs/gannen-fmt.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
gannen_fmt
diff --git a/samples/snippets/standard/datetime/calendars/gannen/vb/gannen-fmt.vbproj b/samples/snippets/standard/datetime/calendars/gannen/vb/gannen-fmt.vbproj
index 3007533b4dd20..f0323f9bb0ee6 100644
--- a/samples/snippets/standard/datetime/calendars/gannen/vb/gannen-fmt.vbproj
+++ b/samples/snippets/standard/datetime/calendars/gannen/vb/gannen-fmt.vbproj
@@ -3,7 +3,7 @@
Exe
gannen_fmt_vb
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/datetime/calendars/gregorian/cs/cs.csproj b/samples/snippets/standard/datetime/calendars/gregorian/cs/cs.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/standard/datetime/calendars/gregorian/cs/cs.csproj
+++ b/samples/snippets/standard/datetime/calendars/gregorian/cs/cs.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/datetime/calendars/gregorian/vb/vb.vbproj b/samples/snippets/standard/datetime/calendars/gregorian/vb/vb.vbproj
index 06c20d64f8a2c..7c3e628458075 100644
--- a/samples/snippets/standard/datetime/calendars/gregorian/vb/vb.vbproj
+++ b/samples/snippets/standard/datetime/calendars/gregorian/vb/vb.vbproj
@@ -3,7 +3,7 @@
Exe
vb
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/datetime/calendars/relaxed-range/cs/cs.csproj b/samples/snippets/standard/datetime/calendars/relaxed-range/cs/cs.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/standard/datetime/calendars/relaxed-range/cs/cs.csproj
+++ b/samples/snippets/standard/datetime/calendars/relaxed-range/cs/cs.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/datetime/calendars/relaxed-range/vb/vb.vbproj b/samples/snippets/standard/datetime/calendars/relaxed-range/vb/vb.vbproj
index 06c20d64f8a2c..7c3e628458075 100644
--- a/samples/snippets/standard/datetime/calendars/relaxed-range/vb/vb.vbproj
+++ b/samples/snippets/standard/datetime/calendars/relaxed-range/vb/vb.vbproj
@@ -3,7 +3,7 @@
Exe
vb
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/datetime/calendars/specify-era/cs/work-with-calendars.csproj b/samples/snippets/standard/datetime/calendars/specify-era/cs/work-with-calendars.csproj
index 36dcf630fa3f5..d6dc14e45cd31 100644
--- a/samples/snippets/standard/datetime/calendars/specify-era/cs/work-with-calendars.csproj
+++ b/samples/snippets/standard/datetime/calendars/specify-era/cs/work-with-calendars.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
work_with_calendars
diff --git a/samples/snippets/standard/datetime/calendars/specify-era/vb/vb.vbproj b/samples/snippets/standard/datetime/calendars/specify-era/vb/vb.vbproj
index 06c20d64f8a2c..7c3e628458075 100644
--- a/samples/snippets/standard/datetime/calendars/specify-era/vb/vb.vbproj
+++ b/samples/snippets/standard/datetime/calendars/specify-era/vb/vb.vbproj
@@ -3,7 +3,7 @@
Exe
vb
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/interop/pinvoke/import-resolver/cs.csproj b/samples/snippets/standard/interop/pinvoke/import-resolver/cs.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/standard/interop/pinvoke/import-resolver/cs.csproj
+++ b/samples/snippets/standard/interop/pinvoke/import-resolver/cs.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj b/samples/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj
+++ b/samples/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj b/samples/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj
index 06c20d64f8a2c..7c3e628458075 100644
--- a/samples/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj
+++ b/samples/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj
@@ -3,7 +3,7 @@
Exe
vb
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj b/samples/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj
+++ b/samples/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj b/samples/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj
+++ b/samples/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/cryptography.smartcardcsp.vbproj b/samples/snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/cryptography.smartcardcsp.vbproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/cryptography.smartcardcsp.vbproj
+++ b/samples/snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/cryptography.smartcardcsp.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/visualbasic/VS_Snippets_CLR/HowToVerifyXMLDocumentRSA/vb/verifyxml.vbproj b/samples/snippets/visualbasic/VS_Snippets_CLR/HowToVerifyXMLDocumentRSA/vb/verifyxml.vbproj
index ec8ca60c2c9c0..59880967bed79 100644
--- a/samples/snippets/visualbasic/VS_Snippets_CLR/HowToVerifyXMLDocumentRSA/vb/verifyxml.vbproj
+++ b/samples/snippets/visualbasic/VS_Snippets_CLR/HowToVerifyXMLDocumentRSA/vb/verifyxml.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/visualbasic/VS_Snippets_CLR/generatingahash/generatingahash.vbproj b/samples/snippets/visualbasic/VS_Snippets_CLR/generatingahash/generatingahash.vbproj
index ec8ca60c2c9c0..59880967bed79 100644
--- a/samples/snippets/visualbasic/VS_Snippets_CLR/generatingahash/generatingahash.vbproj
+++ b/samples/snippets/visualbasic/VS_Snippets_CLR/generatingahash/generatingahash.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/visualbasic/VS_Snippets_CLR/verifyingahash/vb/verifyingahash.vbproj b/samples/snippets/visualbasic/VS_Snippets_CLR/verifyingahash/vb/verifyingahash.vbproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/visualbasic/VS_Snippets_CLR/verifyingahash/vb/verifyingahash.vbproj
+++ b/samples/snippets/visualbasic/VS_Snippets_CLR/verifyingahash/vb/verifyingahash.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_readwrite/vb/dataflowreadwrite.vbproj b/samples/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_readwrite/vb/dataflowreadwrite.vbproj
index 0b6c51b7e676f..4a1db8fceb693 100644
--- a/samples/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_readwrite/vb/dataflowreadwrite.vbproj
+++ b/samples/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_readwrite/vb/dataflowreadwrite.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
\ No newline at end of file
diff --git a/samples/snippets/visualbasic/how-to/conversions/conversions.vbproj b/samples/snippets/visualbasic/how-to/conversions/conversions.vbproj
index c73e0d1692ab3..41f1d5ad4b264 100644
--- a/samples/snippets/visualbasic/how-to/conversions/conversions.vbproj
+++ b/samples/snippets/visualbasic/how-to/conversions/conversions.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
diff --git a/samples/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj b/samples/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj
index 9df436fb47200..235bee113c6f9 100644
--- a/samples/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj
+++ b/samples/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
15.3
diff --git a/samples/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj b/samples/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj
index 370dd7f7cb4a1..fe22db6bef5ca 100644
--- a/samples/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj
+++ b/samples/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp3.1
+ net6.0
15.5