From fd5dfd06f14ef934644fadd7eb5a455950e26a6f Mon Sep 17 00:00:00 2001 From: Daniel Tsvetkov Date: Thu, 30 May 2024 02:26:33 +0300 Subject: [PATCH] Update snippets to dotnet8 (#41013) * Relates to #40684 | Updating to .NET 8 (pt1) * #40684 : Updating to .NET 8 (pt2) * Added binaryformatter to versionsweeper and keeping it on .NET 6 as its deprecated later * Addressing #41013 comments * Moved c# and vb samples to only have 1 sln in a root folder * reverting last commit * updating githubaction csproj * deleting solution files * inlined type forwarding examples --- .../Directory.Packages.props | 16 +++++----- .../HostApplicationBuilder.csproj | 2 +- .../HostBuilder/HostBuilder.csproj | 2 +- .../WebApplicationBuilder.csproj | 2 +- .../snippets/logging/LoggingSampleApp.csproj | 2 +- .../sdk/snippets/pagination/pagination.csproj | 2 +- .../unit-testing/UnitTestingSampleApp.csproj | 16 +++++----- .../deploy-with-vs/csharp/deploy.csproj | 2 +- .../snippets/deploy-with-vs/vb/deploy.vbproj | 2 +- .../deploy-with-vs/xml/invariant.csproj | 2 +- .../MyTestLib6app/MyTestLib6app.csproj | 2 +- .../snippets/MyTestLib6app/XMLFile1.xml | 2 +- .../csharp/DiagnosticSource.csproj | 2 +- .../console-basic-builder.csproj | 4 +-- .../scopeworkaround/scopeworkaround.csproj | 2 +- .../snippets/primitives/change/tokens.csproj | 2 +- .../primitives/string/tokenizers.csproj | 2 +- .../csharp/ShowCase/ShowCase.csproj | 2 +- .../csharp/StringLibrary/StringLibrary.csproj | 2 +- .../StringLibraryTest.csproj | 2 +- .../vb/ShowCase/ShowCase.vbproj | 2 +- .../StringLibraryTest.vbproj | 2 +- .../csharp/HelloWorld.csproj | 2 +- .../with-visual-studio/vb/HelloWorld.vbproj | 2 +- .../snippets/ExpressionTreeExample.csproj | 2 +- .../customer-relationship.csproj | 2 +- .../customer-relationship.csproj | 2 +- .../mixins-with-interfaces.csproj | 2 +- .../snippets/ref-safety/ref-safety.csproj | 2 +- .../IntruderAlert.csproj | 2 +- .../IntruderAlert.csproj | 2 +- .../conceptual/AttributesAndReflection.csproj | 2 +- .../snippets/tutorial/attributes.csproj | 2 +- .../snippets/access-web/access-web.csproj | 2 +- .../async-return-types/AsyncExamples.csproj | 2 +- .../async-scenarios/async-scenarios.csproj | 2 +- .../cancel-task-after-period-of-time.csproj | 2 +- .../snippets/cancel-tasks/cancel-tasks.csproj | 2 +- .../snippets/file-access/file-access.csproj | 2 +- .../finished/IssuePRreport.csproj | 2 +- .../start/IssuePRreport.csproj | 2 +- .../AsyncBreakfast-V2/AsyncBreakfast.csproj | 2 +- .../AsyncBreakfast-V3/AsyncBreakfast.csproj | 2 +- .../AsyncBreakfast.csproj | 2 +- .../AsyncBreakfast.csproj | 2 +- .../snippets/exceptions/exceptions.csproj | 2 +- .../snippets/inheritance/inheritance.csproj | 2 +- .../snippets/objects/objects.csproj | 2 +- .../main-arguments/main-arguments.csproj | 2 +- .../main-command-line.csproj | 2 +- .../snippets/structure/structure.csproj | 2 +- .../top-level-statements.csproj | 2 +- .../top-level-statements.csproj | 2 +- .../top-level-statements.csproj | 2 +- .../top-level-statements.csproj | 2 +- .../top-level-statements.csproj | 2 +- .../toplevel-structure.csproj | 2 +- .../command-line-arguments.csproj | 2 +- .../snippets/inheritance/inheritance.csproj | 2 +- .../introduction-to-classes/classes.csproj | 2 +- .../object-oriented-programming.csproj | 2 +- .../toll-calculator/toll-calculator.csproj | 2 +- .../toll-calculator/toll-calculator.csproj | 2 +- .../safelycast/asandis/asandis.csproj | 2 +- .../nullablepatternmatching.csproj | 2 +- .../patternmatching/patternmatching.csproj | 2 +- .../anonymous-types/anonymous-types.csproj | 2 +- .../types/snippets/generics/generics.csproj | 2 +- .../snippets/interfaces/interfaces.csproj | 2 +- .../snippets/namespaces/namespaces.csproj | 2 +- .../ImportedTypes/ImportedTypes.csproj | 2 +- .../null-warnings/null-warnings.csproj | 2 +- .../pattern-matching-warnings.csproj | 2 +- .../with-expression/with-expression.csproj | 2 +- .../checked-and-unchecked.csproj | 2 +- .../exception-handling-statements.csproj | 2 +- .../selection-statements.csproj | 2 +- .../statements/snippets/using/using.csproj | 2 +- .../snippets/string-interpolation.csproj | 2 +- .../xmldoc/snippets/xmldoc/xmldoc.csproj | 2 +- .../methods/methods.csproj | 2 +- .../snippets/constants/Calendar.csproj | 2 +- .../snippets/fields/fields.csproj | 2 +- .../snippets/finalizers/finalizers.csproj | 2 +- .../Properties.csproj | 2 +- .../how-to-define-constants/Constants.csproj | 2 +- .../PassingStructVsClass.csproj | 11 ------- .../CopyConstructor.csproj | 2 +- .../coords/Coords.csproj | 2 +- .../person/Person.csproj | 2 +- .../shapes/Shapes.csproj | 2 +- .../local-functions/local-functions.csproj | 2 +- .../snippets/methods/Methods.csproj | 2 +- .../PartialClassesAndMethods.csproj | 2 +- .../PrivateConstructors.csproj | 2 +- ...ic-classes-and-static-class-members.csproj | 2 +- .../static-constructors.csproj | 2 +- .../UsingConstructors.csproj | 2 +- .../ValueEqualityClass.csproj | 2 +- .../ValueEqualityStruct.csproj | 2 +- .../TestingReferenceEquality.csproj | 2 +- .../ConsoleApp/ConsoleApp.csproj | 2 +- .../snippets/iterators/iterators.csproj | 2 +- .../NullableIntroduction.csproj | 2 +- .../string-interpolation.csproj | 2 +- .../snippets/WebAPIClient/WebAPIClient.csproj | 2 +- .../interpolated-string-handler.csproj | 2 +- .../pattern-objects/pattern-objects.csproj | 2 +- .../DotNet.GitHubAction.csproj | 2 +- .../csharp/all-rules/all-rules.csproj | 2 +- .../csharp/extra-rules/extra-rules.csproj | 2 +- .../snippets/vb/all-rules/all-rules.vbproj | 2 +- .../vb/extra-rules/extra-rules.vbproj | 2 +- .../snippets/httpclient/httpclient.csproj | 2 +- .../internal-diag-telemetry.csproj | 2 +- .../networking/snippets/misc/misc.csproj | 2 +- .../networking/snippets/shared/shared.csproj | 2 +- .../socket/socket-client/socket-client.csproj | 2 +- .../socket/socket-server/socket-server.csproj | 2 +- .../snippets/tcp/tcp-client/tcp-client.csproj | 2 +- .../tcp/tcp-listener/tcp-listener.csproj | 2 +- .../csharp/PreviousSibling/Project.csproj | 2 +- .../System/Span/Slice/csharp/slice.csproj | 2 +- .../System/Span/Slice/fsharp/fs.fsproj | 2 +- .../csharp/GitHubIssueClassification.csproj | 2 +- .../csharp/TransferLearningTF.csproj | 2 +- .../csharp/IrisFlowerClustering.csproj | 2 +- .../csharp/MovieRecommendation.csproj | 2 +- .../csharp/PhoneCallsAnomalyDetection.csproj | 2 +- .../csharp/TaxiFarePrediction.csproj | 2 +- .../ProductSalesAnomalyDetection.csproj | 2 +- .../csharp/SentimentAnalysis.csproj | 2 +- .../csharp/TextClassificationTF.csproj | 2 +- .../snippets/consul/Silo/Silo.csproj | 2 +- .../Orleans.ServiceFabric.Stateless.csproj | 4 +-- .../grains/snippets/timers/Timers.csproj | 2 +- .../Abstractions/Abstractions.csproj | 2 +- .../transactions/Client/Client.csproj | 2 +- .../transactions/Grains/Grains.csproj | 2 +- .../transactions/Server/Server.csproj | 2 +- docs/orleans/host/snippets/Client.csproj | 2 +- .../BroadcastChannel.Client.csproj | 2 +- .../BroadcastChannel.GrainInterfaces.csproj | 2 +- .../BroadcastChannel.Silo.csproj | 2 +- .../custom-grain-storage/GrainStorage.csproj | 2 +- .../snippets/minimal/Client/Client.csproj | 2 +- .../GrainInterfaces/GrainInterfaces.csproj | 2 +- .../snippets/minimal/Grains/Grains.csproj | 2 +- .../snippets/minimal/Silo/Silo.csproj | 2 +- .../identify/csharp/AssemblySnippets.csproj | 2 +- .../visual-basic/AssemblySnippets.vbproj | 2 +- .../AssemblySnippets.csproj | 2 +- .../after/Utility/TypeForwarders.cs | 4 --- .../after/Utility/Utility.csproj | 13 -------- .../before/Common/Common.csproj | 2 +- .../before/Consumer/Consumer.csproj | 2 +- .../before/Utility/Utility.csproj | 2 +- docs/standard/assembly/type-forwarding.md | 13 ++++++-- .../csharp/formattable/formattable.csproj | 2 +- .../csharp/tostring/tostring.csproj | 2 +- .../vb/formattable/formattable.vbproj | 2 +- .../vb/tostring/tostring.vbproj | 2 +- .../csharp/comparison1/comparison.csproj | 2 +- .../csharp/comparison2/comparison.csproj | 2 +- .../csharp/comparison3/comparison.csproj | 2 +- .../embeddednulls1/embeddednulls.csproj | 2 +- .../embeddednulls2/embeddednulls.csproj | 2 +- .../csharp/explicitargs/explicitargs.csproj | 2 +- .../csharp/indirect1/indirect1.csproj | 2 +- .../csharp/stringcomparer/api1.csproj | 2 +- .../csharp/turkish/turkish.csproj | 2 +- .../vb/comparison1/comparison.vbproj | 2 +- .../vb/comparison2/comparison.vbproj | 2 +- .../vb/comparison3/comparison.vbproj | 2 +- .../vb/embeddednulls1/embeddednulls.vbproj | 2 +- .../vb/embeddednulls2/embeddednulls.vbproj | 2 +- .../vb/explicitargs/explicitargs.vbproj | 2 +- .../vb/indirect1/indirect1.vbproj | 2 +- .../vb/stringcomparer/api.vbproj | 2 +- .../vb/turkish/turkish.vbproj | 2 +- .../csharp/RuneSamples.csproj | 2 +- .../csharp/DateTimeCode.csproj | 2 +- .../vb/DateTimeCode.vbproj | 2 +- .../csharp/email_cs.csproj | 2 +- .../vb/email_vb.vbproj | 2 +- .../parse-strings/csharp/parse-strings.csproj | 2 +- .../parse-strings/vb/parse-strings.vbproj | 2 +- .../regex-backtracking/csharp/Project.csproj | 2 +- .../regex-backtracking/vb/Project.vbproj | 2 +- .../csharp/regex.csproj | 2 +- .../vb/regex.vbproj | 2 +- .../snippets/customize-help/csharp/scl.csproj | 2 +- .../define-commands/csharp/scl.csproj | 2 +- .../dependency-injection/csharp/scl.csproj | 2 +- .../csharp/Stage1/scl.csproj | 2 +- .../csharp/Stage2/scl.csproj | 2 +- .../csharp/Stage3/scl.csproj | 2 +- .../handle-termination/csharp/scl.csproj | 2 +- .../snippets/model-binding/csharp/scl.csproj | 2 +- .../snippets/tab-completion/csharp/scl.csproj | 2 +- .../snippets/use-middleware/csharp/scl.csproj | 2 +- .../csharp/dateonlytimeonly.csproj | 2 +- .../vb/dateonlytimeonly.vbproj | 2 +- .../csharp/Project.csproj | 2 +- .../vb/project.vb.vbproj | 2 +- .../computing-with-jsondocument-error.csproj | 2 +- .../computing-with-jsondocument-valid.csproj | 2 +- .../custom-reading-with-utf8jsonreader.csproj | 2 +- .../custom-writing-with-utf8jsonwriter.csproj | 2 +- .../example1/example1.csproj | 2 +- .../example2/example2.csproj | 2 +- .../example3/example3.csproj | 2 +- ...rializing-with-jsonserializer-error.csproj | 2 +- ...rializing-with-jsonserializer-valid.csproj | 2 +- .../reading-with-utf8jsonreader-error.csproj | 2 +- .../reading-with-utf8jsonreader-valid.csproj | 2 +- .../serializing-with-jsonserializer.csproj | 2 +- .../writing-with-utf8jsonwriter.csproj | 2 +- .../snippets/observables/Observables.csproj | 2 +- .../csharp/Project.csproj | 2 +- .../csharp/CatchException.csproj | 2 +- .../vb/CatchException.vbproj | 2 +- .../csharp/CatchException.csproj | 2 +- .../vb/CatchException.vbproj | 2 +- .../dispose-async/dispose-async.csproj | 2 +- .../csharp/AppCS.csproj | 2 +- .../how-to-copy-directories/vb/AppVB.vbproj | 2 +- ...ipeClientStream_ImpersonationSample.csproj | 2 +- ...ipeServerStream_ImpersonationSample.csproj | 2 +- ...ipeClientStream_ImpersonationSample.vbproj | 2 +- ...ipeServerStream_ImpersonationSample.vbproj | 2 +- .../io/snippets/pipelines_1/Pipes.csproj | 2 +- .../io/snippets/pipelines_2/ConsoleApp.csproj | 2 +- .../snippets/cs/snippets.csproj | 2 +- .../snippets/vb/snippets.vbproj | 2 +- .../csharp/example.csproj | 2 +- .../vb/example.vbproj | 2 +- .../snippets/cs-round-trip-encryption.sln | 31 ------------------- .../decrypting-data/csharp/aesdecrypt.csproj | 2 +- .../decrypting-data/vb/aesdecrypt.vbproj | 2 +- .../encrypting-data/csharp/aesencrypt.csproj | 2 +- .../encrypting-data/vb/aesencrypt.vbproj | 2 +- .../csharp/SetCurrentPrincipal.csproj | 2 +- .../vb/SetCurrentPrincipal.vbproj | 2 +- .../snippets/vb-rounbd-trip-encryption.sln | 31 ------------------- .../binaryformatter-event-source.csproj | 2 +- .../csharp/SystemTextJsonOptions.csproj | 2 +- .../csharp/SystemTextJsonSamples.csproj | 2 +- .../snippets/custom-contracts/Project.csproj | 2 +- .../vb/SystemTextJsonHowTo.vbproj | 2 +- .../how-to/vb/SystemTextJsonSamples.vbproj | 2 +- .../csharp/SystemTextJsonSamples.csproj | 2 +- .../csharp/SystemTextJsonSamples.csproj | 2 +- .../for-each-next-statement/vb/vb.vbproj | 2 +- .../try-catch-finally-statement/vb/vb.vbproj | 2 +- .../concepts/linq/snippets/linq.vbproj | 2 +- dotnet-versionsweeper.json | 5 ++- 257 files changed, 281 insertions(+), 359 deletions(-) delete mode 100644 docs/csharp/programming-guide/classes-and-structs/snippets/how-to-know-the-difference-passing-a-struct-and-passing-a-class-to-a-method/PassingStructVsClass.csproj delete mode 100644 docs/standard/assembly/snippets/type-forwarders/after/Utility/TypeForwarders.cs delete mode 100644 docs/standard/assembly/snippets/type-forwarders/after/Utility/Utility.csproj delete mode 100644 docs/standard/security/snippets/cs-round-trip-encryption.sln delete mode 100644 docs/standard/security/snippets/vb-rounbd-trip-encryption.sln diff --git a/docs/azure/sdk/snippets/dependency-injection/Directory.Packages.props b/docs/azure/sdk/snippets/dependency-injection/Directory.Packages.props index b60632a2f7ae9..ac9e77385f02c 100644 --- a/docs/azure/sdk/snippets/dependency-injection/Directory.Packages.props +++ b/docs/azure/sdk/snippets/dependency-injection/Directory.Packages.props @@ -3,13 +3,13 @@ true - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/docs/azure/sdk/snippets/dependency-injection/HostApplicationBuilder/HostApplicationBuilder.csproj b/docs/azure/sdk/snippets/dependency-injection/HostApplicationBuilder/HostApplicationBuilder.csproj index 54b28c586b873..26337206feca1 100644 --- a/docs/azure/sdk/snippets/dependency-injection/HostApplicationBuilder/HostApplicationBuilder.csproj +++ b/docs/azure/sdk/snippets/dependency-injection/HostApplicationBuilder/HostApplicationBuilder.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/azure/sdk/snippets/dependency-injection/HostBuilder/HostBuilder.csproj b/docs/azure/sdk/snippets/dependency-injection/HostBuilder/HostBuilder.csproj index 393da41132e87..686e38fed040e 100644 --- a/docs/azure/sdk/snippets/dependency-injection/HostBuilder/HostBuilder.csproj +++ b/docs/azure/sdk/snippets/dependency-injection/HostBuilder/HostBuilder.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable dotnet-HostBuilder-3f144e50-3cf7-463d-b3e7-33f5e9a62474 diff --git a/docs/azure/sdk/snippets/dependency-injection/WebApplicationBuilder/WebApplicationBuilder.csproj b/docs/azure/sdk/snippets/dependency-injection/WebApplicationBuilder/WebApplicationBuilder.csproj index 87ea3e207d5ae..82858f1c05434 100644 --- a/docs/azure/sdk/snippets/dependency-injection/WebApplicationBuilder/WebApplicationBuilder.csproj +++ b/docs/azure/sdk/snippets/dependency-injection/WebApplicationBuilder/WebApplicationBuilder.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/azure/sdk/snippets/logging/LoggingSampleApp.csproj b/docs/azure/sdk/snippets/logging/LoggingSampleApp.csproj index 60715b5825145..6b9c4e66f3a81 100644 --- a/docs/azure/sdk/snippets/logging/LoggingSampleApp.csproj +++ b/docs/azure/sdk/snippets/logging/LoggingSampleApp.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable diff --git a/docs/azure/sdk/snippets/pagination/pagination.csproj b/docs/azure/sdk/snippets/pagination/pagination.csproj index 49a2edd6d9a12..d51f62eea93c0 100644 --- a/docs/azure/sdk/snippets/pagination/pagination.csproj +++ b/docs/azure/sdk/snippets/pagination/pagination.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 Azure.PaginationExample enable enable diff --git a/docs/azure/sdk/snippets/unit-testing/UnitTestingSampleApp.csproj b/docs/azure/sdk/snippets/unit-testing/UnitTestingSampleApp.csproj index dfeb4cd61f4b7..74fd60d9b23f2 100644 --- a/docs/azure/sdk/snippets/unit-testing/UnitTestingSampleApp.csproj +++ b/docs/azure/sdk/snippets/unit-testing/UnitTestingSampleApp.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable @@ -10,17 +10,17 @@ - - - + + + - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all 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 1d22a36997079..af31fefa23aa5 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 - net6.0 + net8.0 enable 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 7ce8f4559987d..9dbe63c02ba99 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 - net6.0 + net8.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 2b001f0ec376f..5032be67883f8 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 @@ - net6.0 + net8.0 enable diff --git a/docs/core/deploying/trimming/snippets/MyTestLib6app/MyTestLib6app.csproj b/docs/core/deploying/trimming/snippets/MyTestLib6app/MyTestLib6app.csproj index b4a17d4f20234..ca1aff590cc95 100644 --- a/docs/core/deploying/trimming/snippets/MyTestLib6app/MyTestLib6app.csproj +++ b/docs/core/deploying/trimming/snippets/MyTestLib6app/MyTestLib6app.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 true link diff --git a/docs/core/deploying/trimming/snippets/MyTestLib6app/XMLFile1.xml b/docs/core/deploying/trimming/snippets/MyTestLib6app/XMLFile1.xml index 4e02e5d44ab0b..92719ae4fb87b 100644 --- a/docs/core/deploying/trimming/snippets/MyTestLib6app/XMLFile1.xml +++ b/docs/core/deploying/trimming/snippets/MyTestLib6app/XMLFile1.xml @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 true link diff --git a/docs/core/diagnostics/snippets/diagnosticsource/csharp/DiagnosticSource.csproj b/docs/core/diagnostics/snippets/diagnosticsource/csharp/DiagnosticSource.csproj index 40c60dd4c8843..6f4623a81bd1c 100644 --- a/docs/core/diagnostics/snippets/diagnosticsource/csharp/DiagnosticSource.csproj +++ b/docs/core/diagnostics/snippets/diagnosticsource/csharp/DiagnosticSource.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/core/extensions/snippets/configuration/console-basic-builder/console-basic-builder.csproj b/docs/core/extensions/snippets/configuration/console-basic-builder/console-basic-builder.csproj index 9d922af899d6d..92c87201fb435 100644 --- a/docs/core/extensions/snippets/configuration/console-basic-builder/console-basic-builder.csproj +++ b/docs/core/extensions/snippets/configuration/console-basic-builder/console-basic-builder.csproj @@ -2,14 +2,14 @@ Exe - net7.0 + net8.0 enable true Console.Example - + diff --git a/docs/core/extensions/snippets/http/scopeworkaround/scopeworkaround.csproj b/docs/core/extensions/snippets/http/scopeworkaround/scopeworkaround.csproj index 1f324f0a0556d..ec0f01e9f41a8 100644 --- a/docs/core/extensions/snippets/http/scopeworkaround/scopeworkaround.csproj +++ b/docs/core/extensions/snippets/http/scopeworkaround/scopeworkaround.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable ScopeWorkaround diff --git a/docs/core/extensions/snippets/primitives/change/tokens.csproj b/docs/core/extensions/snippets/primitives/change/tokens.csproj index 7b731d0e0651d..4eba9d2ffe05a 100644 --- a/docs/core/extensions/snippets/primitives/change/tokens.csproj +++ b/docs/core/extensions/snippets/primitives/change/tokens.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable true ChangeToken.Example diff --git a/docs/core/extensions/snippets/primitives/string/tokenizers.csproj b/docs/core/extensions/snippets/primitives/string/tokenizers.csproj index e0e870eac6fe3..59972f25d007a 100644 --- a/docs/core/extensions/snippets/primitives/string/tokenizers.csproj +++ b/docs/core/extensions/snippets/primitives/string/tokenizers.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable true StringTokenizer.Example diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/ShowCase/ShowCase.csproj b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/ShowCase/ShowCase.csproj index 60e72924a680e..6d76f46f0f5da 100644 --- a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/ShowCase/ShowCase.csproj +++ b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/ShowCase/ShowCase.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibrary/StringLibrary.csproj b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibrary/StringLibrary.csproj index 4de80482caabb..8d2b2325b0b6c 100644 --- a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibrary/StringLibrary.csproj +++ b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibrary/StringLibrary.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj index 4406aedfd70f4..18bc31da877d8 100644 --- a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj +++ b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable false 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 d000f99ee5a5c..e273a8c59238a 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 - net6.0 + net8.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 bc76b4d436ceb..c88f9ad6c5543 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,7 +2,7 @@ StringLibraryTest - net6.0 + net8.0 false diff --git a/docs/core/tutorials/snippets/with-visual-studio/csharp/HelloWorld.csproj b/docs/core/tutorials/snippets/with-visual-studio/csharp/HelloWorld.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/core/tutorials/snippets/with-visual-studio/csharp/HelloWorld.csproj +++ b/docs/core/tutorials/snippets/with-visual-studio/csharp/HelloWorld.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable 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 5a795607e9104..a114aa59790a0 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 - net6.0 + net8.0 diff --git a/docs/csharp/advanced-topics/expression-trees/snippets/ExpressionTreeExample.csproj b/docs/csharp/advanced-topics/expression-trees/snippets/ExpressionTreeExample.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/advanced-topics/expression-trees/snippets/ExpressionTreeExample.csproj +++ b/docs/csharp/advanced-topics/expression-trees/snippets/ExpressionTreeExample.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj index af50914e7f147..631f4f94fba6f 100644 --- a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj +++ b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/customer-relationship.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 customer_relationship enable enable diff --git a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj index 45735a94afd06..33ca99dbbbfb6 100644 --- a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj +++ b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/starter/customer-relationship/customer-relationship.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 customer_relationship enable enable diff --git a/docs/csharp/advanced-topics/interface-implementation/snippets/mixins-with-default-interface-methods/mixins-with-interfaces.csproj b/docs/csharp/advanced-topics/interface-implementation/snippets/mixins-with-default-interface-methods/mixins-with-interfaces.csproj index 92a14e8f2f541..08cdb396f1014 100644 --- a/docs/csharp/advanced-topics/interface-implementation/snippets/mixins-with-default-interface-methods/mixins-with-interfaces.csproj +++ b/docs/csharp/advanced-topics/interface-implementation/snippets/mixins-with-default-interface-methods/mixins-with-interfaces.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable mixins_with_interfaces diff --git a/docs/csharp/advanced-topics/performance/snippets/ref-safety/ref-safety.csproj b/docs/csharp/advanced-topics/performance/snippets/ref-safety/ref-safety.csproj index c793d81660aca..5dd55e1eb26b2 100644 --- a/docs/csharp/advanced-topics/performance/snippets/ref-safety/ref-safety.csproj +++ b/docs/csharp/advanced-topics/performance/snippets/ref-safety/ref-safety.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 ref_safety enable enable diff --git a/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-finished/IntruderAlert.csproj b/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-finished/IntruderAlert.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-finished/IntruderAlert.csproj +++ b/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-finished/IntruderAlert.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-starter/IntruderAlert.csproj b/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-starter/IntruderAlert.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-starter/IntruderAlert.csproj +++ b/docs/csharp/advanced-topics/performance/snippets/ref-tutorial/IntruderAlert-starter/IntruderAlert.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/advanced-topics/reflection-and-attributes/snippets/conceptual/AttributesAndReflection.csproj b/docs/csharp/advanced-topics/reflection-and-attributes/snippets/conceptual/AttributesAndReflection.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/advanced-topics/reflection-and-attributes/snippets/conceptual/AttributesAndReflection.csproj +++ b/docs/csharp/advanced-topics/reflection-and-attributes/snippets/conceptual/AttributesAndReflection.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/advanced-topics/reflection-and-attributes/snippets/tutorial/attributes.csproj b/docs/csharp/advanced-topics/reflection-and-attributes/snippets/tutorial/attributes.csproj index 556085493bfcd..fd4dd4565750e 100644 --- a/docs/csharp/advanced-topics/reflection-and-attributes/snippets/tutorial/attributes.csproj +++ b/docs/csharp/advanced-topics/reflection-and-attributes/snippets/tutorial/attributes.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/asynchronous-programming/snippets/access-web/access-web.csproj b/docs/csharp/asynchronous-programming/snippets/access-web/access-web.csproj index b690f7adaf575..b9e380b782ab6 100644 --- a/docs/csharp/asynchronous-programming/snippets/access-web/access-web.csproj +++ b/docs/csharp/asynchronous-programming/snippets/access-web/access-web.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable access_web diff --git a/docs/csharp/asynchronous-programming/snippets/async-return-types/AsyncExamples.csproj b/docs/csharp/asynchronous-programming/snippets/async-return-types/AsyncExamples.csproj index 1b626285b7b5a..db11027f0eed1 100644 --- a/docs/csharp/asynchronous-programming/snippets/async-return-types/AsyncExamples.csproj +++ b/docs/csharp/asynchronous-programming/snippets/async-return-types/AsyncExamples.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable AsyncExamples.Program diff --git a/docs/csharp/asynchronous-programming/snippets/async-scenarios/async-scenarios.csproj b/docs/csharp/asynchronous-programming/snippets/async-scenarios/async-scenarios.csproj index 9446b5818ae47..e6748018d98a4 100644 --- a/docs/csharp/asynchronous-programming/snippets/async-scenarios/async-scenarios.csproj +++ b/docs/csharp/asynchronous-programming/snippets/async-scenarios/async-scenarios.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable async-scenarios diff --git a/docs/csharp/asynchronous-programming/snippets/cancel-task-after-period-of-time/cancel-task-after-period-of-time.csproj b/docs/csharp/asynchronous-programming/snippets/cancel-task-after-period-of-time/cancel-task-after-period-of-time.csproj index 6440df56cb51e..d6e41bbd53734 100644 --- a/docs/csharp/asynchronous-programming/snippets/cancel-task-after-period-of-time/cancel-task-after-period-of-time.csproj +++ b/docs/csharp/asynchronous-programming/snippets/cancel-task-after-period-of-time/cancel-task-after-period-of-time.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable cancel_task_after_period_of_time diff --git a/docs/csharp/asynchronous-programming/snippets/cancel-tasks/cancel-tasks.csproj b/docs/csharp/asynchronous-programming/snippets/cancel-tasks/cancel-tasks.csproj index e70f918df3554..ebfd6ba86a21d 100644 --- a/docs/csharp/asynchronous-programming/snippets/cancel-tasks/cancel-tasks.csproj +++ b/docs/csharp/asynchronous-programming/snippets/cancel-tasks/cancel-tasks.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable cancel_tasks diff --git a/docs/csharp/asynchronous-programming/snippets/file-access/file-access.csproj b/docs/csharp/asynchronous-programming/snippets/file-access/file-access.csproj index 872618e85cd50..80fc327c129c7 100644 --- a/docs/csharp/asynchronous-programming/snippets/file-access/file-access.csproj +++ b/docs/csharp/asynchronous-programming/snippets/file-access/file-access.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable file_access diff --git a/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/finished/IssuePRreport.csproj b/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/finished/IssuePRreport.csproj index c470029f00cc8..229499b1559e5 100644 --- a/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/finished/IssuePRreport.csproj +++ b/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/finished/IssuePRreport.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/start/IssuePRreport.csproj b/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/start/IssuePRreport.csproj index c470029f00cc8..229499b1559e5 100644 --- a/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/start/IssuePRreport.csproj +++ b/docs/csharp/asynchronous-programming/snippets/generate-consume-asynchronous-streams/start/IssuePRreport.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V2/AsyncBreakfast.csproj b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V2/AsyncBreakfast.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V2/AsyncBreakfast.csproj +++ b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V2/AsyncBreakfast.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V3/AsyncBreakfast.csproj b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V3/AsyncBreakfast.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V3/AsyncBreakfast.csproj +++ b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-V3/AsyncBreakfast.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-final/AsyncBreakfast.csproj b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-final/AsyncBreakfast.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-final/AsyncBreakfast.csproj +++ b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-final/AsyncBreakfast.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-starter/AsyncBreakfast.csproj b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-starter/AsyncBreakfast.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-starter/AsyncBreakfast.csproj +++ b/docs/csharp/asynchronous-programming/snippets/index/AsyncBreakfast-starter/AsyncBreakfast.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/exceptions/snippets/exceptions/exceptions.csproj b/docs/csharp/fundamentals/exceptions/snippets/exceptions/exceptions.csproj index a8922d8ce2cf5..32b98a480ba70 100644 --- a/docs/csharp/fundamentals/exceptions/snippets/exceptions/exceptions.csproj +++ b/docs/csharp/fundamentals/exceptions/snippets/exceptions/exceptions.csproj @@ -3,7 +3,7 @@ Exe enable - net6.0 + net8.0 enable enable Exceptions.Program diff --git a/docs/csharp/fundamentals/object-oriented/snippets/inheritance/inheritance.csproj b/docs/csharp/fundamentals/object-oriented/snippets/inheritance/inheritance.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/object-oriented/snippets/inheritance/inheritance.csproj +++ b/docs/csharp/fundamentals/object-oriented/snippets/inheritance/inheritance.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/object-oriented/snippets/objects/objects.csproj b/docs/csharp/fundamentals/object-oriented/snippets/objects/objects.csproj index 219818956203a..aaf800f2b84b7 100644 --- a/docs/csharp/fundamentals/object-oriented/snippets/objects/objects.csproj +++ b/docs/csharp/fundamentals/object-oriented/snippets/objects/objects.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable Program diff --git a/docs/csharp/fundamentals/program-structure/snippets/main-arguments/main-arguments.csproj b/docs/csharp/fundamentals/program-structure/snippets/main-arguments/main-arguments.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/main-arguments/main-arguments.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/main-arguments/main-arguments.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/program-structure/snippets/main-command-line/main-command-line.csproj b/docs/csharp/fundamentals/program-structure/snippets/main-command-line/main-command-line.csproj index aafd8c6c1c3d7..c39b1f8d62483 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/main-command-line/main-command-line.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/main-command-line/main-command-line.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable main_command_line diff --git a/docs/csharp/fundamentals/program-structure/snippets/structure/structure.csproj b/docs/csharp/fundamentals/program-structure/snippets/structure/structure.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/structure/structure.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/structure/structure.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-1/top-level-statements.csproj b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-1/top-level-statements.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-1/top-level-statements.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-1/top-level-statements.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-2/top-level-statements.csproj b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-2/top-level-statements.csproj index cba1ce1334c30..9b8f56f2f11f9 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-2/top-level-statements.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-2/top-level-statements.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-3/top-level-statements.csproj b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-3/top-level-statements.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-3/top-level-statements.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-3/top-level-statements.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-4/top-level-statements.csproj b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-4/top-level-statements.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-4/top-level-statements.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-4/top-level-statements.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-5/top-level-statements.csproj b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-5/top-level-statements.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-5/top-level-statements.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/top-level-statements-5/top-level-statements.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/program-structure/snippets/toplevel-structure/toplevel-structure.csproj b/docs/csharp/fundamentals/program-structure/snippets/toplevel-structure/toplevel-structure.csproj index 2df04f3d3ad60..029d5f304b855 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/toplevel-structure/toplevel-structure.csproj +++ b/docs/csharp/fundamentals/program-structure/snippets/toplevel-structure/toplevel-structure.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable toplevel_structure diff --git a/docs/csharp/fundamentals/tutorials/snippets/command-line-arguments/command-line-arguments.csproj b/docs/csharp/fundamentals/tutorials/snippets/command-line-arguments/command-line-arguments.csproj index 9f070e44a9d31..9bb76a4e9a690 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/command-line-arguments/command-line-arguments.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/command-line-arguments/command-line-arguments.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 command_line_arguments enable enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/inheritance/inheritance.csproj b/docs/csharp/fundamentals/tutorials/snippets/inheritance/inheritance.csproj index e91c79fcbc464..c7644560c8b38 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/inheritance/inheritance.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/inheritance/inheritance.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable Inheritance.Program enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/introduction-to-classes/classes.csproj b/docs/csharp/fundamentals/tutorials/snippets/introduction-to-classes/classes.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/introduction-to-classes/classes.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/introduction-to-classes/classes.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/object-oriented-programming/object-oriented-programming.csproj b/docs/csharp/fundamentals/tutorials/snippets/object-oriented-programming/object-oriented-programming.csproj index fdfd54f789ab7..8eabb9b933f1b 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/object-oriented-programming/object-oriented-programming.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/object-oriented-programming/object-oriented-programming.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 OOProgramming oo-programming enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/patterns/finished/toll-calculator/toll-calculator.csproj b/docs/csharp/fundamentals/tutorials/snippets/patterns/finished/toll-calculator/toll-calculator.csproj index d7375c6c939f7..9df53aa9387f5 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/patterns/finished/toll-calculator/toll-calculator.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/patterns/finished/toll-calculator/toll-calculator.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 toll_calculator enable enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/patterns/start/toll-calculator/toll-calculator.csproj b/docs/csharp/fundamentals/tutorials/snippets/patterns/start/toll-calculator/toll-calculator.csproj index 4223ce45d273b..d6d6cb7e5539d 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/patterns/start/toll-calculator/toll-calculator.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/patterns/start/toll-calculator/toll-calculator.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable toll_calculator enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/safelycast/asandis/asandis.csproj b/docs/csharp/fundamentals/tutorials/snippets/safelycast/asandis/asandis.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/safelycast/asandis/asandis.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/safelycast/asandis/asandis.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/safelycast/nullablepatternmatching/nullablepatternmatching.csproj b/docs/csharp/fundamentals/tutorials/snippets/safelycast/nullablepatternmatching/nullablepatternmatching.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/safelycast/nullablepatternmatching/nullablepatternmatching.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/safelycast/nullablepatternmatching/nullablepatternmatching.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/tutorials/snippets/safelycast/patternmatching/patternmatching.csproj b/docs/csharp/fundamentals/tutorials/snippets/safelycast/patternmatching/patternmatching.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/fundamentals/tutorials/snippets/safelycast/patternmatching/patternmatching.csproj +++ b/docs/csharp/fundamentals/tutorials/snippets/safelycast/patternmatching/patternmatching.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/types/snippets/anonymous-types/anonymous-types.csproj b/docs/csharp/fundamentals/types/snippets/anonymous-types/anonymous-types.csproj index fd0406efdd61a..470b1dc5331cc 100644 --- a/docs/csharp/fundamentals/types/snippets/anonymous-types/anonymous-types.csproj +++ b/docs/csharp/fundamentals/types/snippets/anonymous-types/anonymous-types.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 anonymous_types enable enable diff --git a/docs/csharp/fundamentals/types/snippets/generics/generics.csproj b/docs/csharp/fundamentals/types/snippets/generics/generics.csproj index 90d31fa825aad..38396d525cdb0 100644 --- a/docs/csharp/fundamentals/types/snippets/generics/generics.csproj +++ b/docs/csharp/fundamentals/types/snippets/generics/generics.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable generics.TestGenericList diff --git a/docs/csharp/fundamentals/types/snippets/interfaces/interfaces.csproj b/docs/csharp/fundamentals/types/snippets/interfaces/interfaces.csproj index 0da2a6f35b586..5d6e8277cbf44 100644 --- a/docs/csharp/fundamentals/types/snippets/interfaces/interfaces.csproj +++ b/docs/csharp/fundamentals/types/snippets/interfaces/interfaces.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable diff --git a/docs/csharp/fundamentals/types/snippets/namespaces/namespaces.csproj b/docs/csharp/fundamentals/types/snippets/namespaces/namespaces.csproj index 1d22a36997079..af31fefa23aa5 100644 --- a/docs/csharp/fundamentals/types/snippets/namespaces/namespaces.csproj +++ b/docs/csharp/fundamentals/types/snippets/namespaces/namespaces.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable diff --git a/docs/csharp/language-reference/compiler-messages/snippets/ImportedTypes/ImportedTypes.csproj b/docs/csharp/language-reference/compiler-messages/snippets/ImportedTypes/ImportedTypes.csproj index 132c02c59c236..30402ac0e7ae3 100644 --- a/docs/csharp/language-reference/compiler-messages/snippets/ImportedTypes/ImportedTypes.csproj +++ b/docs/csharp/language-reference/compiler-messages/snippets/ImportedTypes/ImportedTypes.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable diff --git a/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj b/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj index 1160aad8f6228..0f43b27e64b6c 100644 --- a/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj +++ b/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 null_warnings enable enable diff --git a/docs/csharp/language-reference/compiler-messages/snippets/pattern-matching-warnings/pattern-matching-warnings.csproj b/docs/csharp/language-reference/compiler-messages/snippets/pattern-matching-warnings/pattern-matching-warnings.csproj index 628087afb2f76..bdcda4a6bc812 100644 --- a/docs/csharp/language-reference/compiler-messages/snippets/pattern-matching-warnings/pattern-matching-warnings.csproj +++ b/docs/csharp/language-reference/compiler-messages/snippets/pattern-matching-warnings/pattern-matching-warnings.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net8.0 enable enable pattern_matching_warnings diff --git a/docs/csharp/language-reference/operators/snippets/with-expression/with-expression.csproj b/docs/csharp/language-reference/operators/snippets/with-expression/with-expression.csproj index b025ae3c58395..26d734847fbe3 100644 --- a/docs/csharp/language-reference/operators/snippets/with-expression/with-expression.csproj +++ b/docs/csharp/language-reference/operators/snippets/with-expression/with-expression.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 with_expression with_expression.Program enable diff --git a/docs/csharp/language-reference/statements/snippets/checked-and-unchecked/checked-and-unchecked.csproj b/docs/csharp/language-reference/statements/snippets/checked-and-unchecked/checked-and-unchecked.csproj index 2897fa79fd955..b9ad21523028d 100644 --- a/docs/csharp/language-reference/statements/snippets/checked-and-unchecked/checked-and-unchecked.csproj +++ b/docs/csharp/language-reference/statements/snippets/checked-and-unchecked/checked-and-unchecked.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 checked_and_unchecked enable enable diff --git a/docs/csharp/language-reference/statements/snippets/exception-handling-statements/exception-handling-statements.csproj b/docs/csharp/language-reference/statements/snippets/exception-handling-statements/exception-handling-statements.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/language-reference/statements/snippets/exception-handling-statements/exception-handling-statements.csproj +++ b/docs/csharp/language-reference/statements/snippets/exception-handling-statements/exception-handling-statements.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/language-reference/statements/snippets/selection-statements/selection-statements.csproj b/docs/csharp/language-reference/statements/snippets/selection-statements/selection-statements.csproj index 76a95d0a2dbd1..f2a4addd340a1 100644 --- a/docs/csharp/language-reference/statements/snippets/selection-statements/selection-statements.csproj +++ b/docs/csharp/language-reference/statements/snippets/selection-statements/selection-statements.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable SelectionStatements diff --git a/docs/csharp/language-reference/statements/snippets/using/using.csproj b/docs/csharp/language-reference/statements/snippets/using/using.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/language-reference/statements/snippets/using/using.csproj +++ b/docs/csharp/language-reference/statements/snippets/using/using.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/language-reference/tokens/snippets/string-interpolation.csproj b/docs/csharp/language-reference/tokens/snippets/string-interpolation.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/language-reference/tokens/snippets/string-interpolation.csproj +++ b/docs/csharp/language-reference/tokens/snippets/string-interpolation.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/language-reference/xmldoc/snippets/xmldoc/xmldoc.csproj b/docs/csharp/language-reference/xmldoc/snippets/xmldoc/xmldoc.csproj index b8e8deb0b368d..8ca7637a10d00 100644 --- a/docs/csharp/language-reference/xmldoc/snippets/xmldoc/xmldoc.csproj +++ b/docs/csharp/language-reference/xmldoc/snippets/xmldoc/xmldoc.csproj @@ -2,7 +2,7 @@ Exe - net8 + net8.0 enable enable xmldoc.xml diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/classes-and-structs/methods/methods.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/classes-and-structs/methods/methods.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/classes-and-structs/methods/methods.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/classes-and-structs/methods/methods.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/constants/Calendar.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/constants/Calendar.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/constants/Calendar.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/constants/Calendar.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/fields/fields.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/fields/fields.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/fields/fields.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/fields/fields.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/finalizers/finalizers.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/finalizers/finalizers.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/finalizers/finalizers.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/finalizers/finalizers.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-declare-and-use-read-write-properties/Properties.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-declare-and-use-read-write-properties/Properties.csproj index 41a36f8a8c9cc..0469d9108e5cc 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-declare-and-use-read-write-properties/Properties.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-declare-and-use-read-write-properties/Properties.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable Properties diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-define-constants/Constants.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-define-constants/Constants.csproj index 1f2b7972ba250..0bff9c2c56896 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-define-constants/Constants.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-define-constants/Constants.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable Constants diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-know-the-difference-passing-a-struct-and-passing-a-class-to-a-method/PassingStructVsClass.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-know-the-difference-passing-a-struct-and-passing-a-class-to-a-method/PassingStructVsClass.csproj deleted file mode 100644 index 76405ca922f99..0000000000000 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-know-the-difference-passing-a-struct-and-passing-a-class-to-a-method/PassingStructVsClass.csproj +++ /dev/null @@ -1,11 +0,0 @@ - - - - Exe - net6.0 - enable - enable - PassingStructVsClass - - - diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-write-a-copy-constructor/CopyConstructor.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-write-a-copy-constructor/CopyConstructor.csproj index ce1c4cae6f4f3..b8b2ccad021c3 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-write-a-copy-constructor/CopyConstructor.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/how-to-write-a-copy-constructor/CopyConstructor.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable CopyConstructor diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/coords/Coords.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/coords/Coords.csproj index dbce04cb0e196..347ab999ffd04 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/coords/Coords.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/coords/Coords.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable Coords diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/person/Person.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/person/Person.csproj index 4b4abe41259fb..cdba52e0bcb01 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/person/Person.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/person/Person.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable Person diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/shapes/Shapes.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/shapes/Shapes.csproj index bf97ac7ecd847..9a46223485073 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/shapes/Shapes.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/instance-constructors/shapes/Shapes.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable Shapes diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/local-functions/local-functions.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/local-functions/local-functions.csproj index c28ce0259e128..da9773c921219 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/local-functions/local-functions.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/local-functions/local-functions.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable local_functions diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/methods/Methods.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/methods/Methods.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/methods/Methods.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/methods/Methods.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods/PartialClassesAndMethods.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods/PartialClassesAndMethods.csproj index eabfd853951d5..2fcfbff5947b7 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods/PartialClassesAndMethods.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods/PartialClassesAndMethods.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable PartialClassesAndMethods diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/private-constructors/PrivateConstructors.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/private-constructors/PrivateConstructors.csproj index c981305ef3fe7..5d61d7f31d4b3 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/private-constructors/PrivateConstructors.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/private-constructors/PrivateConstructors.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable PrivateConstructors diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/static-classes-and-static-class-members/static-classes-and-static-class-members.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/static-classes-and-static-class-members/static-classes-and-static-class-members.csproj index 9a92d2669990a..84d752b0903fa 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/static-classes-and-static-class-members/static-classes-and-static-class-members.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/static-classes-and-static-class-members/static-classes-and-static-class-members.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable StaticClassesAndStaticClassMembers diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/static-constructors/static-constructors.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/static-constructors/static-constructors.csproj index 3ba073907fcbd..1f1413c88b21f 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/static-constructors/static-constructors.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/static-constructors/static-constructors.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable static_constructors diff --git a/docs/csharp/programming-guide/classes-and-structs/snippets/using-constructors/UsingConstructors.csproj b/docs/csharp/programming-guide/classes-and-structs/snippets/using-constructors/UsingConstructors.csproj index d8ad935b8b9a0..cb7c096a14515 100644 --- a/docs/csharp/programming-guide/classes-and-structs/snippets/using-constructors/UsingConstructors.csproj +++ b/docs/csharp/programming-guide/classes-and-structs/snippets/using-constructors/UsingConstructors.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable UsingConstructors diff --git a/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityClass/ValueEqualityClass.csproj b/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityClass/ValueEqualityClass.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityClass/ValueEqualityClass.csproj +++ b/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityClass/ValueEqualityClass.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityStruct/ValueEqualityStruct.csproj b/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityStruct/ValueEqualityStruct.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityStruct/ValueEqualityStruct.csproj +++ b/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-define-value-equality-for-a-type/ValueEqualityStruct/ValueEqualityStruct.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-test-for-reference-equality-identity/TestingReferenceEquality.csproj b/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-test-for-reference-equality-identity/TestingReferenceEquality.csproj index f79d312402a73..116202dc2c2bd 100644 --- a/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-test-for-reference-equality-identity/TestingReferenceEquality.csproj +++ b/docs/csharp/programming-guide/statements-expressions-operators/snippets/how-to-test-for-reference-equality-identity/TestingReferenceEquality.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable TestingReferenceEquality diff --git a/docs/csharp/roslyn-sdk/snippets/source-generators/ConsoleApp/ConsoleApp.csproj b/docs/csharp/roslyn-sdk/snippets/source-generators/ConsoleApp/ConsoleApp.csproj index 475c6ac5a0611..f31e94b628d5b 100644 --- a/docs/csharp/roslyn-sdk/snippets/source-generators/ConsoleApp/ConsoleApp.csproj +++ b/docs/csharp/roslyn-sdk/snippets/source-generators/ConsoleApp/ConsoleApp.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/snippets/iterators/iterators.csproj b/docs/csharp/snippets/iterators/iterators.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/csharp/snippets/iterators/iterators.csproj +++ b/docs/csharp/snippets/iterators/iterators.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/tutorials/snippets/NullableIntroduction/NullableIntroduction.csproj b/docs/csharp/tutorials/snippets/NullableIntroduction/NullableIntroduction.csproj index feb6b26fad750..9b8f56f2f11f9 100644 --- a/docs/csharp/tutorials/snippets/NullableIntroduction/NullableIntroduction.csproj +++ b/docs/csharp/tutorials/snippets/NullableIntroduction/NullableIntroduction.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/tutorials/snippets/StringInterpolation/string-interpolation.csproj b/docs/csharp/tutorials/snippets/StringInterpolation/string-interpolation.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/csharp/tutorials/snippets/StringInterpolation/string-interpolation.csproj +++ b/docs/csharp/tutorials/snippets/StringInterpolation/string-interpolation.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/csharp/tutorials/snippets/WebAPIClient/WebAPIClient.csproj b/docs/csharp/tutorials/snippets/WebAPIClient/WebAPIClient.csproj index 74abf5c976649..91b464afeacc1 100644 --- a/docs/csharp/tutorials/snippets/WebAPIClient/WebAPIClient.csproj +++ b/docs/csharp/tutorials/snippets/WebAPIClient/WebAPIClient.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/csharp/whats-new/tutorials/snippets/interpolated-string-handler/interpolated-string-handler.csproj b/docs/csharp/whats-new/tutorials/snippets/interpolated-string-handler/interpolated-string-handler.csproj index 121cdee96121d..81287129b4a59 100644 --- a/docs/csharp/whats-new/tutorials/snippets/interpolated-string-handler/interpolated-string-handler.csproj +++ b/docs/csharp/whats-new/tutorials/snippets/interpolated-string-handler/interpolated-string-handler.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 interpolated_string_handler enable enable diff --git a/docs/csharp/whats-new/tutorials/snippets/pattern-objects/pattern-objects.csproj b/docs/csharp/whats-new/tutorials/snippets/pattern-objects/pattern-objects.csproj index 42737f34b60ef..eda50b0eef5c1 100644 --- a/docs/csharp/whats-new/tutorials/snippets/pattern-objects/pattern-objects.csproj +++ b/docs/csharp/whats-new/tutorials/snippets/pattern-objects/pattern-objects.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable pattern_objects diff --git a/docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction/DotNet.GitHubAction.csproj b/docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction/DotNet.GitHubAction.csproj index bb8d80f3ceb0c..b8d7a60256ce6 100644 --- a/docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction/DotNet.GitHubAction.csproj +++ b/docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction/DotNet.GitHubAction.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/all-rules/all-rules.csproj b/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/all-rules/all-rules.csproj index 6a8e1c95cdc07..548868ecb5cdb 100644 --- a/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/all-rules/all-rules.csproj +++ b/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/all-rules/all-rules.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable all_rules diff --git a/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/extra-rules/extra-rules.csproj b/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/extra-rules/extra-rules.csproj index 10fe3c0398ea8..11da434927e62 100644 --- a/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/extra-rules/extra-rules.csproj +++ b/docs/fundamentals/code-analysis/quality-rules/snippets/csharp/extra-rules/extra-rules.csproj @@ -2,7 +2,7 @@ Library - net7.0 + net8.0 enable extra_rules diff --git a/docs/fundamentals/code-analysis/quality-rules/snippets/vb/all-rules/all-rules.vbproj b/docs/fundamentals/code-analysis/quality-rules/snippets/vb/all-rules/all-rules.vbproj index e9738d778b8b8..0f5343a149b29 100644 --- a/docs/fundamentals/code-analysis/quality-rules/snippets/vb/all-rules/all-rules.vbproj +++ b/docs/fundamentals/code-analysis/quality-rules/snippets/vb/all-rules/all-rules.vbproj @@ -3,7 +3,7 @@ Exe all_rules - net7.0 + net8.0 diff --git a/docs/fundamentals/code-analysis/quality-rules/snippets/vb/extra-rules/extra-rules.vbproj b/docs/fundamentals/code-analysis/quality-rules/snippets/vb/extra-rules/extra-rules.vbproj index 2539f126d96aa..5a7c577da7d36 100644 --- a/docs/fundamentals/code-analysis/quality-rules/snippets/vb/extra-rules/extra-rules.vbproj +++ b/docs/fundamentals/code-analysis/quality-rules/snippets/vb/extra-rules/extra-rules.vbproj @@ -3,7 +3,7 @@ Library extra_rules - net7.0 + net8.0 diff --git a/docs/fundamentals/networking/snippets/httpclient/httpclient.csproj b/docs/fundamentals/networking/snippets/httpclient/httpclient.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/fundamentals/networking/snippets/httpclient/httpclient.csproj +++ b/docs/fundamentals/networking/snippets/httpclient/httpclient.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/networking/snippets/internal-diag-telemetry/internal-diag-telemetry.csproj b/docs/fundamentals/networking/snippets/internal-diag-telemetry/internal-diag-telemetry.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/fundamentals/networking/snippets/internal-diag-telemetry/internal-diag-telemetry.csproj +++ b/docs/fundamentals/networking/snippets/internal-diag-telemetry/internal-diag-telemetry.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/networking/snippets/misc/misc.csproj b/docs/fundamentals/networking/snippets/misc/misc.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/fundamentals/networking/snippets/misc/misc.csproj +++ b/docs/fundamentals/networking/snippets/misc/misc.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/networking/snippets/shared/shared.csproj b/docs/fundamentals/networking/snippets/shared/shared.csproj index a1ed5b3f0a723..fa71b7ae6a349 100644 --- a/docs/fundamentals/networking/snippets/shared/shared.csproj +++ b/docs/fundamentals/networking/snippets/shared/shared.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/networking/snippets/socket/socket-client/socket-client.csproj b/docs/fundamentals/networking/snippets/socket/socket-client/socket-client.csproj index 5f712e14f17ce..ee951d3a72d8c 100644 --- a/docs/fundamentals/networking/snippets/socket/socket-client/socket-client.csproj +++ b/docs/fundamentals/networking/snippets/socket/socket-client/socket-client.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/networking/snippets/socket/socket-server/socket-server.csproj b/docs/fundamentals/networking/snippets/socket/socket-server/socket-server.csproj index 5f712e14f17ce..ee951d3a72d8c 100644 --- a/docs/fundamentals/networking/snippets/socket/socket-server/socket-server.csproj +++ b/docs/fundamentals/networking/snippets/socket/socket-server/socket-server.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/networking/snippets/tcp/tcp-client/tcp-client.csproj b/docs/fundamentals/networking/snippets/tcp/tcp-client/tcp-client.csproj index 5f712e14f17ce..ee951d3a72d8c 100644 --- a/docs/fundamentals/networking/snippets/tcp/tcp-client/tcp-client.csproj +++ b/docs/fundamentals/networking/snippets/tcp/tcp-client/tcp-client.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/networking/snippets/tcp/tcp-listener/tcp-listener.csproj b/docs/fundamentals/networking/snippets/tcp/tcp-listener/tcp-listener.csproj index 5f712e14f17ce..ee951d3a72d8c 100644 --- a/docs/fundamentals/networking/snippets/tcp/tcp-listener/tcp-listener.csproj +++ b/docs/fundamentals/networking/snippets/tcp/tcp-listener/tcp-listener.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlLinkedNode/csharp/PreviousSibling/Project.csproj b/docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlLinkedNode/csharp/PreviousSibling/Project.csproj index c02dc5044e769..5a1b02db67729 100644 --- a/docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlLinkedNode/csharp/PreviousSibling/Project.csproj +++ b/docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlLinkedNode/csharp/PreviousSibling/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net8.0 \ No newline at end of file diff --git a/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/csharp/slice.csproj b/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/csharp/slice.csproj index 649ae14631d3a..085806b62525c 100644 --- a/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/csharp/slice.csproj +++ b/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/csharp/slice.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable diff --git a/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/fsharp/fs.fsproj b/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/fsharp/fs.fsproj index 96b3241a2a189..b72a8920ae518 100644 --- a/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/fsharp/fs.fsproj +++ b/docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/fsharp/fs.fsproj @@ -1,7 +1,7 @@ Exe - net6.0 + net8.0 diff --git a/docs/machine-learning/tutorials/snippets/github-issue-classification/csharp/GitHubIssueClassification.csproj b/docs/machine-learning/tutorials/snippets/github-issue-classification/csharp/GitHubIssueClassification.csproj index 561944bbe11d8..7464c8d47366c 100644 --- a/docs/machine-learning/tutorials/snippets/github-issue-classification/csharp/GitHubIssueClassification.csproj +++ b/docs/machine-learning/tutorials/snippets/github-issue-classification/csharp/GitHubIssueClassification.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/image-classification/csharp/TransferLearningTF.csproj b/docs/machine-learning/tutorials/snippets/image-classification/csharp/TransferLearningTF.csproj index 91849738f4485..f74f432f94e62 100644 --- a/docs/machine-learning/tutorials/snippets/image-classification/csharp/TransferLearningTF.csproj +++ b/docs/machine-learning/tutorials/snippets/image-classification/csharp/TransferLearningTF.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/iris-clustering/csharp/IrisFlowerClustering.csproj b/docs/machine-learning/tutorials/snippets/iris-clustering/csharp/IrisFlowerClustering.csproj index 58c6bd91f466a..538e69e560c2e 100644 --- a/docs/machine-learning/tutorials/snippets/iris-clustering/csharp/IrisFlowerClustering.csproj +++ b/docs/machine-learning/tutorials/snippets/iris-clustering/csharp/IrisFlowerClustering.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/movie-recommendation/csharp/MovieRecommendation.csproj b/docs/machine-learning/tutorials/snippets/movie-recommendation/csharp/MovieRecommendation.csproj index a4d61f0c66aa3..8c806342b8bb7 100644 --- a/docs/machine-learning/tutorials/snippets/movie-recommendation/csharp/MovieRecommendation.csproj +++ b/docs/machine-learning/tutorials/snippets/movie-recommendation/csharp/MovieRecommendation.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/phone-calls-anomaly-detection/csharp/PhoneCallsAnomalyDetection.csproj b/docs/machine-learning/tutorials/snippets/phone-calls-anomaly-detection/csharp/PhoneCallsAnomalyDetection.csproj index d4c3def9e9a89..6c82f60ae6109 100644 --- a/docs/machine-learning/tutorials/snippets/phone-calls-anomaly-detection/csharp/PhoneCallsAnomalyDetection.csproj +++ b/docs/machine-learning/tutorials/snippets/phone-calls-anomaly-detection/csharp/PhoneCallsAnomalyDetection.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/predict-prices/csharp/TaxiFarePrediction.csproj b/docs/machine-learning/tutorials/snippets/predict-prices/csharp/TaxiFarePrediction.csproj index 09ec0cdd8e69e..5daa1bbcd0e79 100644 --- a/docs/machine-learning/tutorials/snippets/predict-prices/csharp/TaxiFarePrediction.csproj +++ b/docs/machine-learning/tutorials/snippets/predict-prices/csharp/TaxiFarePrediction.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/sales-anomaly-detection/csharp/ProductSalesAnomalyDetection.csproj b/docs/machine-learning/tutorials/snippets/sales-anomaly-detection/csharp/ProductSalesAnomalyDetection.csproj index 39a7ff3870fc4..276ade87388d6 100644 --- a/docs/machine-learning/tutorials/snippets/sales-anomaly-detection/csharp/ProductSalesAnomalyDetection.csproj +++ b/docs/machine-learning/tutorials/snippets/sales-anomaly-detection/csharp/ProductSalesAnomalyDetection.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/sentiment-analysis/csharp/SentimentAnalysis.csproj b/docs/machine-learning/tutorials/snippets/sentiment-analysis/csharp/SentimentAnalysis.csproj index 03a8a13c37317..f46075cf11170 100644 --- a/docs/machine-learning/tutorials/snippets/sentiment-analysis/csharp/SentimentAnalysis.csproj +++ b/docs/machine-learning/tutorials/snippets/sentiment-analysis/csharp/SentimentAnalysis.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/machine-learning/tutorials/snippets/text-classification-tf/csharp/TextClassificationTF.csproj b/docs/machine-learning/tutorials/snippets/text-classification-tf/csharp/TextClassificationTF.csproj index 5c673d91e6e7a..e98565db60f9b 100644 --- a/docs/machine-learning/tutorials/snippets/text-classification-tf/csharp/TextClassificationTF.csproj +++ b/docs/machine-learning/tutorials/snippets/text-classification-tf/csharp/TextClassificationTF.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/orleans/deployment/snippets/consul/Silo/Silo.csproj b/docs/orleans/deployment/snippets/consul/Silo/Silo.csproj index 4b20e79923bfc..0b759cae7e7ea 100644 --- a/docs/orleans/deployment/snippets/consul/Silo/Silo.csproj +++ b/docs/orleans/deployment/snippets/consul/Silo/Silo.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj b/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj index 4a503cdf6b624..e3c6d5e0f32d7 100644 --- a/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj +++ b/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj @@ -2,14 +2,14 @@ Exe - net7.0 + net8.0 enable enable ServiceFabric.Stateless True True False - win10-x64 + win-x64 diff --git a/docs/orleans/grains/snippets/timers/Timers.csproj b/docs/orleans/grains/snippets/timers/Timers.csproj index ee191f86a52a4..5c9a4c186cbae 100644 --- a/docs/orleans/grains/snippets/timers/Timers.csproj +++ b/docs/orleans/grains/snippets/timers/Timers.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj b/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj index 63625cab3e13c..01ab3f6279245 100644 --- a/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj +++ b/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/orleans/grains/snippets/transactions/Client/Client.csproj b/docs/orleans/grains/snippets/transactions/Client/Client.csproj index b1d0f71eff958..30d4f69432888 100644 --- a/docs/orleans/grains/snippets/transactions/Client/Client.csproj +++ b/docs/orleans/grains/snippets/transactions/Client/Client.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/orleans/grains/snippets/transactions/Grains/Grains.csproj b/docs/orleans/grains/snippets/transactions/Grains/Grains.csproj index 4e8ab7251b32a..8cac693277546 100644 --- a/docs/orleans/grains/snippets/transactions/Grains/Grains.csproj +++ b/docs/orleans/grains/snippets/transactions/Grains/Grains.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/orleans/grains/snippets/transactions/Server/Server.csproj b/docs/orleans/grains/snippets/transactions/Server/Server.csproj index 875b322338b66..f0cb5c043c35a 100644 --- a/docs/orleans/grains/snippets/transactions/Server/Server.csproj +++ b/docs/orleans/grains/snippets/transactions/Server/Server.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/orleans/host/snippets/Client.csproj b/docs/orleans/host/snippets/Client.csproj index aec51757a68b1..8aa131b84a486 100644 --- a/docs/orleans/host/snippets/Client.csproj +++ b/docs/orleans/host/snippets/Client.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj index 524e075f3108c..84545796ed1f4 100644 --- a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj +++ b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj index 9376adaa118bc..73e57358dac7e 100644 --- a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj +++ b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj index 73254a23d4b63..97e5ab83fc09c 100644 --- a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj +++ b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/orleans/tutorials-and-samples/snippets/custom-grain-storage/GrainStorage.csproj b/docs/orleans/tutorials-and-samples/snippets/custom-grain-storage/GrainStorage.csproj index f45eeaeeecd51..bfa7d9b4f77df 100644 --- a/docs/orleans/tutorials-and-samples/snippets/custom-grain-storage/GrainStorage.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/custom-grain-storage/GrainStorage.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable exe diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj index e760cad1ad9c0..f924040cc49c3 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj index 9d3cc06eca920..6774e81b23e22 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj index d44772d991c83..c4671f639b2e2 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj index 99a32aeedc809..f9a782264cfd3 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj b/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj index 561c20b23f3ac..7f1d56b08ae98 100644 --- a/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj +++ b/docs/standard/assembly/snippets/identify/csharp/AssemblySnippets.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable diff --git a/docs/standard/assembly/snippets/identify/visual-basic/AssemblySnippets.vbproj b/docs/standard/assembly/snippets/identify/visual-basic/AssemblySnippets.vbproj index d5e04f61b6c11..1fe2a4e11dcc6 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 - net6.0 + net8.0 diff --git a/docs/standard/assembly/snippets/inspect-contents-using-metadataloadcontext/AssemblySnippets.csproj b/docs/standard/assembly/snippets/inspect-contents-using-metadataloadcontext/AssemblySnippets.csproj index 1ab6dff08c342..9d79f4816a9a6 100644 --- a/docs/standard/assembly/snippets/inspect-contents-using-metadataloadcontext/AssemblySnippets.csproj +++ b/docs/standard/assembly/snippets/inspect-contents-using-metadataloadcontext/AssemblySnippets.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/assembly/snippets/type-forwarders/after/Utility/TypeForwarders.cs b/docs/standard/assembly/snippets/type-forwarders/after/Utility/TypeForwarders.cs deleted file mode 100644 index 20c11bc642dee..0000000000000 --- a/docs/standard/assembly/snippets/type-forwarders/after/Utility/TypeForwarders.cs +++ /dev/null @@ -1,4 +0,0 @@ -using System.Runtime.CompilerServices; -using Common.Objects; - -[assembly:TypeForwardedTo(typeof(Example))] diff --git a/docs/standard/assembly/snippets/type-forwarders/after/Utility/Utility.csproj b/docs/standard/assembly/snippets/type-forwarders/after/Utility/Utility.csproj deleted file mode 100644 index 00a0e568bf01a..0000000000000 --- a/docs/standard/assembly/snippets/type-forwarders/after/Utility/Utility.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - net6.0 - enable - true - - - - - - - diff --git a/docs/standard/assembly/snippets/type-forwarders/before/Common/Common.csproj b/docs/standard/assembly/snippets/type-forwarders/before/Common/Common.csproj index dc6ac6cacbc38..903838d4b939e 100644 --- a/docs/standard/assembly/snippets/type-forwarders/before/Common/Common.csproj +++ b/docs/standard/assembly/snippets/type-forwarders/before/Common/Common.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable true diff --git a/docs/standard/assembly/snippets/type-forwarders/before/Consumer/Consumer.csproj b/docs/standard/assembly/snippets/type-forwarders/before/Consumer/Consumer.csproj index 43a2733c0cfca..fd3c864cbcb8d 100644 --- a/docs/standard/assembly/snippets/type-forwarders/before/Consumer/Consumer.csproj +++ b/docs/standard/assembly/snippets/type-forwarders/before/Consumer/Consumer.csproj @@ -2,7 +2,7 @@ exe - net6.0 + net8.0 enable true diff --git a/docs/standard/assembly/snippets/type-forwarders/before/Utility/Utility.csproj b/docs/standard/assembly/snippets/type-forwarders/before/Utility/Utility.csproj index dc6ac6cacbc38..903838d4b939e 100644 --- a/docs/standard/assembly/snippets/type-forwarders/before/Utility/Utility.csproj +++ b/docs/standard/assembly/snippets/type-forwarders/before/Utility/Utility.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable true diff --git a/docs/standard/assembly/type-forwarding.md b/docs/standard/assembly/type-forwarding.md index 72cde3e02738e..31a197ff80e83 100644 --- a/docs/standard/assembly/type-forwarding.md +++ b/docs/standard/assembly/type-forwarding.md @@ -59,11 +59,20 @@ By removing this type from the _Utility_ assembly, the developers are introducin Instead of requiring the consuming projects to add a new reference to the _Common_ assembly, you can forward the type. Since this type was removed from the _Utility_ assembly, you'll need to have the _Utility.csproj_ reference the _Common.csproj_: -:::code language="xml" source="snippets/type-forwarders/after/Utility/Utility.csproj" highlight="9-11"::: +```xml + + + +``` The preceding C# project now references the newly created _Common_ assembly. This could be either a `PackageReference` or a `ProjectReference`. The _Utility_ assembly needs to provide the type forwarding information. By convention type forward declarations are usually encapsulated in a single file named `TypeForwarders`, consider the following _TypeForwarders.cs_ C# file in the _Utility_ assembly: -:::code language="csharp" source="snippets/type-forwarders/after/Utility/TypeForwarders.cs"::: +```csharp +using System.Runtime.CompilerServices; +using Common.Objects; + +[assembly:TypeForwardedTo(typeof(Example))] +``` The _Utility_ assembly references the _Common_ assembly, and it forwards the `Example` type. If you're to compile the _Utility_ assembly with the type forwarding declarations and drop the _Utility.dll_ into the _Consuming_ bin, the consuming app will work without being compiled. diff --git a/docs/standard/base-types/snippets/best-practices-display-data/csharp/formattable/formattable.csproj b/docs/standard/base-types/snippets/best-practices-display-data/csharp/formattable/formattable.csproj index 16de64dae9d93..7cdeca966423d 100644 --- a/docs/standard/base-types/snippets/best-practices-display-data/csharp/formattable/formattable.csproj +++ b/docs/standard/base-types/snippets/best-practices-display-data/csharp/formattable/formattable.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable formattable diff --git a/docs/standard/base-types/snippets/best-practices-display-data/csharp/tostring/tostring.csproj b/docs/standard/base-types/snippets/best-practices-display-data/csharp/tostring/tostring.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/standard/base-types/snippets/best-practices-display-data/csharp/tostring/tostring.csproj +++ b/docs/standard/base-types/snippets/best-practices-display-data/csharp/tostring/tostring.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-display-data/vb/formattable/formattable.vbproj b/docs/standard/base-types/snippets/best-practices-display-data/vb/formattable/formattable.vbproj index cf4298b6765a2..31acfcf24540b 100644 --- a/docs/standard/base-types/snippets/best-practices-display-data/vb/formattable/formattable.vbproj +++ b/docs/standard/base-types/snippets/best-practices-display-data/vb/formattable/formattable.vbproj @@ -3,7 +3,7 @@ Exe formattable - net6.0 + net8.0 diff --git a/docs/standard/base-types/snippets/best-practices-display-data/vb/tostring/tostring.vbproj b/docs/standard/base-types/snippets/best-practices-display-data/vb/tostring/tostring.vbproj index 9801613a77b1e..1705e791ceb99 100644 --- a/docs/standard/base-types/snippets/best-practices-display-data/vb/tostring/tostring.vbproj +++ b/docs/standard/base-types/snippets/best-practices-display-data/vb/tostring/tostring.vbproj @@ -3,7 +3,7 @@ Exe tostring - net6.0 + net8.0 diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison1/comparison.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison1/comparison.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison1/comparison.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison1/comparison.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison2/comparison.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison2/comparison.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison2/comparison.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison2/comparison.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison3/comparison.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison3/comparison.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison3/comparison.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/comparison3/comparison.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls1/embeddednulls.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls1/embeddednulls.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls1/embeddednulls.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls1/embeddednulls.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls2/embeddednulls.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls2/embeddednulls.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls2/embeddednulls.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/embeddednulls2/embeddednulls.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/explicitargs/explicitargs.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/explicitargs/explicitargs.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/explicitargs/explicitargs.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/explicitargs/explicitargs.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/indirect1/indirect1.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/indirect1/indirect1.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/indirect1/indirect1.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/indirect1/indirect1.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/stringcomparer/api1.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/stringcomparer/api1.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/stringcomparer/api1.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/stringcomparer/api1.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/csharp/turkish/turkish.csproj b/docs/standard/base-types/snippets/best-practices-strings/csharp/turkish/turkish.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/csharp/turkish/turkish.csproj +++ b/docs/standard/base-types/snippets/best-practices-strings/csharp/turkish/turkish.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/comparison1/comparison.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/comparison1/comparison.vbproj index 9b84c963b26ba..3b0a002261bf5 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/comparison1/comparison.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/comparison1/comparison.vbproj @@ -3,7 +3,7 @@ Exe comparison - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/comparison2/comparison.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/comparison2/comparison.vbproj index 9b84c963b26ba..3b0a002261bf5 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/comparison2/comparison.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/comparison2/comparison.vbproj @@ -3,7 +3,7 @@ Exe comparison - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/comparison3/comparison.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/comparison3/comparison.vbproj index 9b84c963b26ba..3b0a002261bf5 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/comparison3/comparison.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/comparison3/comparison.vbproj @@ -3,7 +3,7 @@ Exe comparison - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls1/embeddednulls.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls1/embeddednulls.vbproj index 26526d954042d..128d62eb87e35 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls1/embeddednulls.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls1/embeddednulls.vbproj @@ -3,7 +3,7 @@ Exe embeddednulls - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls2/embeddednulls.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls2/embeddednulls.vbproj index 26526d954042d..128d62eb87e35 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls2/embeddednulls.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/embeddednulls2/embeddednulls.vbproj @@ -3,7 +3,7 @@ Exe embeddednulls - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/explicitargs/explicitargs.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/explicitargs/explicitargs.vbproj index 1ee7fe0c13880..c0c8a90fde0e6 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/explicitargs/explicitargs.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/explicitargs/explicitargs.vbproj @@ -3,7 +3,7 @@ Exe explicitargs - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/indirect1/indirect1.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/indirect1/indirect1.vbproj index 885160d9cc4b2..74aa0b832ac97 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/indirect1/indirect1.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/indirect1/indirect1.vbproj @@ -3,7 +3,7 @@ Exe indirect1 - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/stringcomparer/api.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/stringcomparer/api.vbproj index eb89ce90037f1..d95f2be90119f 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/stringcomparer/api.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/stringcomparer/api.vbproj @@ -3,7 +3,7 @@ Exe api - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/best-practices-strings/vb/turkish/turkish.vbproj b/docs/standard/base-types/snippets/best-practices-strings/vb/turkish/turkish.vbproj index 551dc5aed0567..9644169eb0b39 100644 --- a/docs/standard/base-types/snippets/best-practices-strings/vb/turkish/turkish.vbproj +++ b/docs/standard/base-types/snippets/best-practices-strings/vb/turkish/turkish.vbproj @@ -3,7 +3,7 @@ Exe turkish - net7.0 + net8.0 on diff --git a/docs/standard/base-types/snippets/character-encoding-introduction/csharp/RuneSamples.csproj b/docs/standard/base-types/snippets/character-encoding-introduction/csharp/RuneSamples.csproj index 74abf5c976649..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/character-encoding-introduction/csharp/RuneSamples.csproj +++ b/docs/standard/base-types/snippets/character-encoding-introduction/csharp/RuneSamples.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/csharp/DateTimeCode.csproj b/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/csharp/DateTimeCode.csproj index 74abf5c976649..91b464afeacc1 100644 --- a/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/csharp/DateTimeCode.csproj +++ b/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/csharp/DateTimeCode.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/vb/DateTimeCode.vbproj b/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/vb/DateTimeCode.vbproj index c8ed9429a1ce7..073476a3fcb04 100644 --- a/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/vb/DateTimeCode.vbproj +++ b/docs/standard/base-types/snippets/how-to-display-milliseconds-in-date-and-time-values/vb/DateTimeCode.vbproj @@ -3,7 +3,7 @@ Exe DateTimeCode - net6.0 + net8.0 diff --git a/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/csharp/email_cs.csproj b/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/csharp/email_cs.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/csharp/email_cs.csproj +++ b/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/csharp/email_cs.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/vb/email_vb.vbproj b/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/vb/email_vb.vbproj index 47f72d55c4137..23ca250b7585c 100644 --- a/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/vb/email_vb.vbproj +++ b/docs/standard/base-types/snippets/how-to-verify-that-strings-are-in-valid-email-format/vb/email_vb.vbproj @@ -3,7 +3,7 @@ Exe RegexExamples - net6.0 + net8.0 diff --git a/docs/standard/base-types/snippets/parse-strings/csharp/parse-strings.csproj b/docs/standard/base-types/snippets/parse-strings/csharp/parse-strings.csproj index 3319528dbe39b..8a6ac9f571a71 100644 --- a/docs/standard/base-types/snippets/parse-strings/csharp/parse-strings.csproj +++ b/docs/standard/base-types/snippets/parse-strings/csharp/parse-strings.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable parse_strings diff --git a/docs/standard/base-types/snippets/parse-strings/vb/parse-strings.vbproj b/docs/standard/base-types/snippets/parse-strings/vb/parse-strings.vbproj index 0f5c4979cd3c7..51e7d03914be1 100644 --- a/docs/standard/base-types/snippets/parse-strings/vb/parse-strings.vbproj +++ b/docs/standard/base-types/snippets/parse-strings/vb/parse-strings.vbproj @@ -3,7 +3,7 @@ Exe parse_strings - net6.0 + net8.0 diff --git a/docs/standard/base-types/snippets/regex-backtracking/csharp/Project.csproj b/docs/standard/base-types/snippets/regex-backtracking/csharp/Project.csproj index 8c8d40ddc3ae0..af31fefa23aa5 100644 --- a/docs/standard/base-types/snippets/regex-backtracking/csharp/Project.csproj +++ b/docs/standard/base-types/snippets/regex-backtracking/csharp/Project.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable diff --git a/docs/standard/base-types/snippets/regex-backtracking/vb/Project.vbproj b/docs/standard/base-types/snippets/regex-backtracking/vb/Project.vbproj index 120e38c315017..a269962b552f0 100644 --- a/docs/standard/base-types/snippets/regex-backtracking/vb/Project.vbproj +++ b/docs/standard/base-types/snippets/regex-backtracking/vb/Project.vbproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 diff --git a/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/csharp/regex.csproj b/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/csharp/regex.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/csharp/regex.csproj +++ b/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/csharp/regex.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/vb/regex.vbproj b/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/vb/regex.vbproj index 47f72d55c4137..23ca250b7585c 100644 --- a/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/vb/regex.vbproj +++ b/docs/standard/base-types/snippets/regular-expression-example-scanning-for-hrefs/vb/regex.vbproj @@ -3,7 +3,7 @@ Exe RegexExamples - net6.0 + net8.0 diff --git a/docs/standard/commandline/snippets/customize-help/csharp/scl.csproj b/docs/standard/commandline/snippets/customize-help/csharp/scl.csproj index 9993d6fadc741..45cb223a813d5 100644 --- a/docs/standard/commandline/snippets/customize-help/csharp/scl.csproj +++ b/docs/standard/commandline/snippets/customize-help/csharp/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/commandline/snippets/define-commands/csharp/scl.csproj b/docs/standard/commandline/snippets/define-commands/csharp/scl.csproj index 8460bcc1462bf..853a3c4a81b2d 100644 --- a/docs/standard/commandline/snippets/define-commands/csharp/scl.csproj +++ b/docs/standard/commandline/snippets/define-commands/csharp/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable Program2 diff --git a/docs/standard/commandline/snippets/dependency-injection/csharp/scl.csproj b/docs/standard/commandline/snippets/dependency-injection/csharp/scl.csproj index 9e1be66eac4b1..cea74091d8df6 100644 --- a/docs/standard/commandline/snippets/dependency-injection/csharp/scl.csproj +++ b/docs/standard/commandline/snippets/dependency-injection/csharp/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage1/scl.csproj b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage1/scl.csproj index ac2f142320337..afb49ace30295 100644 --- a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage1/scl.csproj +++ b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage1/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/scl.csproj b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/scl.csproj index 84bd0d3e68274..0cd0ac8763bf4 100644 --- a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/scl.csproj +++ b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage3/scl.csproj b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage3/scl.csproj index d1152e4fe0d90..1fbcb46055226 100644 --- a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage3/scl.csproj +++ b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage3/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/commandline/snippets/handle-termination/csharp/scl.csproj b/docs/standard/commandline/snippets/handle-termination/csharp/scl.csproj index d33a8a8394da9..aa679cacbe895 100644 --- a/docs/standard/commandline/snippets/handle-termination/csharp/scl.csproj +++ b/docs/standard/commandline/snippets/handle-termination/csharp/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/commandline/snippets/model-binding/csharp/scl.csproj b/docs/standard/commandline/snippets/model-binding/csharp/scl.csproj index 4a6a64b1b37da..f3a9c72dd5854 100644 --- a/docs/standard/commandline/snippets/model-binding/csharp/scl.csproj +++ b/docs/standard/commandline/snippets/model-binding/csharp/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable Program enable diff --git a/docs/standard/commandline/snippets/tab-completion/csharp/scl.csproj b/docs/standard/commandline/snippets/tab-completion/csharp/scl.csproj index a5b8ae617b3b0..12a922fe58ce4 100644 --- a/docs/standard/commandline/snippets/tab-completion/csharp/scl.csproj +++ b/docs/standard/commandline/snippets/tab-completion/csharp/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 scl enable enable diff --git a/docs/standard/commandline/snippets/use-middleware/csharp/scl.csproj b/docs/standard/commandline/snippets/use-middleware/csharp/scl.csproj index d33a8a8394da9..aa679cacbe895 100644 --- a/docs/standard/commandline/snippets/use-middleware/csharp/scl.csproj +++ b/docs/standard/commandline/snippets/use-middleware/csharp/scl.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/csharp/dateonlytimeonly.csproj b/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/csharp/dateonlytimeonly.csproj index f02677bf640fc..91b464afeacc1 100644 --- a/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/csharp/dateonlytimeonly.csproj +++ b/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/csharp/dateonlytimeonly.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/vb/dateonlytimeonly.vbproj b/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/vb/dateonlytimeonly.vbproj index ac7e3513a4550..92807d1660a18 100644 --- a/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/vb/dateonlytimeonly.vbproj +++ b/docs/standard/datetime/snippets/how-to-use-dateonly-timeonly/vb/dateonlytimeonly.vbproj @@ -3,7 +3,7 @@ Exe dateonlytimeonly - net7.0 + net8.0 diff --git a/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/csharp/Project.csproj b/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/csharp/Project.csproj index b83f0211b39c5..a22a525793b82 100644 --- a/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/csharp/Project.csproj +++ b/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/csharp/Project.csproj @@ -2,6 +2,6 @@ Library - net6.0 + net8.0 diff --git a/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/vb/project.vb.vbproj b/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/vb/project.vb.vbproj index 1d22a36997079..af31fefa23aa5 100644 --- a/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/vb/project.vb.vbproj +++ b/docs/standard/datetime/snippets/instantiating-a-datetimeoffset-object/vb/project.vb.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-error/computing-with-jsondocument-error.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-error/computing-with-jsondocument-error.csproj index 646f007882540..72bc103a774e8 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-error/computing-with-jsondocument-error.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-error/computing-with-jsondocument-error.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable computing_with_jsondocument_error diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-valid/computing-with-jsondocument-valid.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-valid/computing-with-jsondocument-valid.csproj index 036fb8fd5d804..666677bd468c0 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-valid/computing-with-jsondocument-valid.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/computing-with-jsondocument-valid/computing-with-jsondocument-valid.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable computing_with_jsondocument_valid diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-reading-with-utf8jsonreader/custom-reading-with-utf8jsonreader.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-reading-with-utf8jsonreader/custom-reading-with-utf8jsonreader.csproj index bb605f896c22f..9dc87938449b3 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-reading-with-utf8jsonreader/custom-reading-with-utf8jsonreader.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-reading-with-utf8jsonreader/custom-reading-with-utf8jsonreader.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable custom_reading_with_utf8jsonreader diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-writing-with-utf8jsonwriter/custom-writing-with-utf8jsonwriter.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-writing-with-utf8jsonwriter/custom-writing-with-utf8jsonwriter.csproj index af9e059bd0a78..a1cbbf54a7479 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-writing-with-utf8jsonwriter/custom-writing-with-utf8jsonwriter.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/custom-writing-with-utf8jsonwriter/custom-writing-with-utf8jsonwriter.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable custom_writing_with_utf8jsonwriter diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example1/example1.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example1/example1.csproj index 9ad2a07d382be..2150e3797ba5e 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example1/example1.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example1/example1.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example2/example2.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example2/example2.csproj index 74abf5c976649..91b464afeacc1 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example2/example2.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example2/example2.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example3/example3.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example3/example3.csproj index 74abf5c976649..91b464afeacc1 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example3/example3.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/datetime-converter-examples/example3/example3.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-error/deserializing-with-jsonserializer-error.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-error/deserializing-with-jsonserializer-error.csproj index 06f1d0d234aa8..5e3ae94d58a79 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-error/deserializing-with-jsonserializer-error.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-error/deserializing-with-jsonserializer-error.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable deserializing_with_jsonserializer_error diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-valid/deserializing-with-jsonserializer-valid.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-valid/deserializing-with-jsonserializer-valid.csproj index 6c6cdeea84336..140e44ae84601 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-valid/deserializing-with-jsonserializer-valid.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/deserializing-with-jsonserializer-valid/deserializing-with-jsonserializer-valid.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable deserializing_with_jsonserializer_valid diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-error/reading-with-utf8jsonreader-error.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-error/reading-with-utf8jsonreader-error.csproj index 63bef9380448c..039bf09ce60a2 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-error/reading-with-utf8jsonreader-error.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-error/reading-with-utf8jsonreader-error.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable reading_with_utf8jsonreader_error diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-valid/reading-with-utf8jsonreader-valid.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-valid/reading-with-utf8jsonreader-valid.csproj index 79cf1cf6d5f71..0efe3fbb80eff 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-valid/reading-with-utf8jsonreader-valid.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/reading-with-utf8jsonreader-valid/reading-with-utf8jsonreader-valid.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable reading_with_utf8jsonreader_valid diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/serializing-with-jsonserializer/serializing-with-jsonserializer.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/serializing-with-jsonserializer/serializing-with-jsonserializer.csproj index ec6605697da15..125b85ccdb24b 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/serializing-with-jsonserializer/serializing-with-jsonserializer.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/serializing-with-jsonserializer/serializing-with-jsonserializer.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable serializing_with_jsonserializer diff --git a/docs/standard/datetime/snippets/system-text-json-support/csharp/writing-with-utf8jsonwriter/writing-with-utf8jsonwriter.csproj b/docs/standard/datetime/snippets/system-text-json-support/csharp/writing-with-utf8jsonwriter/writing-with-utf8jsonwriter.csproj index 23ebaaf26dfb6..39d046a503ee3 100644 --- a/docs/standard/datetime/snippets/system-text-json-support/csharp/writing-with-utf8jsonwriter/writing-with-utf8jsonwriter.csproj +++ b/docs/standard/datetime/snippets/system-text-json-support/csharp/writing-with-utf8jsonwriter/writing-with-utf8jsonwriter.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable writing_with_utf8jsonwriter diff --git a/docs/standard/events/snippets/observables/Observables.csproj b/docs/standard/events/snippets/observables/Observables.csproj index d832f006ac299..c28018dbfdd4c 100644 --- a/docs/standard/events/snippets/observables/Observables.csproj +++ b/docs/standard/events/snippets/observables/Observables.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/exceptions/snippets/how-to-use-finally-blocks/csharp/Project.csproj b/docs/standard/exceptions/snippets/how-to-use-finally-blocks/csharp/Project.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/standard/exceptions/snippets/how-to-use-finally-blocks/csharp/Project.csproj +++ b/docs/standard/exceptions/snippets/how-to-use-finally-blocks/csharp/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/csharp/CatchException.csproj b/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/csharp/CatchException.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/csharp/CatchException.csproj +++ b/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/csharp/CatchException.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/vb/CatchException.vbproj b/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/vb/CatchException.vbproj index 41f1d5ad4b264..a269962b552f0 100644 --- a/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/vb/CatchException.vbproj +++ b/docs/standard/exceptions/snippets/how-to-use-specific-exceptions-in-a-catch-block/vb/CatchException.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/csharp/CatchException.csproj b/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/csharp/CatchException.csproj index 3897747193834..f704bf4988fa6 100644 --- a/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/csharp/CatchException.csproj +++ b/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/csharp/CatchException.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/vb/CatchException.vbproj b/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/vb/CatchException.vbproj index 41f1d5ad4b264..a269962b552f0 100644 --- a/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/vb/CatchException.vbproj +++ b/docs/standard/exceptions/snippets/how-to-use-the-try-catch-block-to-catch-exceptions/vb/CatchException.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/docs/standard/garbage-collection/snippets/dispose-async/dispose-async.csproj b/docs/standard/garbage-collection/snippets/dispose-async/dispose-async.csproj index 1bb3c05585bd7..78c3d5920ee4e 100644 --- a/docs/standard/garbage-collection/snippets/dispose-async/dispose-async.csproj +++ b/docs/standard/garbage-collection/snippets/dispose-async/dispose-async.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable ExampleUsingStatementProgram diff --git a/docs/standard/io/snippets/how-to-copy-directories/csharp/AppCS.csproj b/docs/standard/io/snippets/how-to-copy-directories/csharp/AppCS.csproj index 74abf5c976649..91b464afeacc1 100644 --- a/docs/standard/io/snippets/how-to-copy-directories/csharp/AppCS.csproj +++ b/docs/standard/io/snippets/how-to-copy-directories/csharp/AppCS.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/io/snippets/how-to-copy-directories/vb/AppVB.vbproj b/docs/standard/io/snippets/how-to-copy-directories/vb/AppVB.vbproj index cf3d73d527a99..8578ccbd9d632 100644 --- a/docs/standard/io/snippets/how-to-copy-directories/vb/AppVB.vbproj +++ b/docs/standard/io/snippets/how-to-copy-directories/vb/AppVB.vbproj @@ -3,7 +3,7 @@ Exe AppVB - net6.0 + net8.0 diff --git a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.csproj b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.csproj index 31a47f68d268b..c92aa9b63afbb 100644 --- a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.csproj +++ b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.csproj @@ -1,7 +1,7 @@ Exe - net7.0 + net8.0 enable diff --git a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.csproj b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.csproj index 31a47f68d268b..c92aa9b63afbb 100644 --- a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.csproj +++ b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/csharp/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.csproj @@ -1,7 +1,7 @@ Exe - net7.0 + net8.0 enable diff --git a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.vbproj b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.vbproj index 41f1d5ad4b264..a269962b552f0 100644 --- a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.vbproj +++ b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeClientStream_ImpersonationSample/NamedPipeClientStream_ImpersonationSample.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.vbproj b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.vbproj index 41f1d5ad4b264..a269962b552f0 100644 --- a/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.vbproj +++ b/docs/standard/io/snippets/how-to-use-named-pipes-for-network-interprocess-communication/vb/NamedPipeServerStream_ImpersonationSample/NamedPipeServerStream_ImpersonationSample.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/docs/standard/io/snippets/pipelines_1/Pipes.csproj b/docs/standard/io/snippets/pipelines_1/Pipes.csproj index 4cb081551388a..1bf8f376df58a 100644 --- a/docs/standard/io/snippets/pipelines_1/Pipes.csproj +++ b/docs/standard/io/snippets/pipelines_1/Pipes.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/io/snippets/pipelines_2/ConsoleApp.csproj b/docs/standard/io/snippets/pipelines_2/ConsoleApp.csproj index d1f8d0a673a22..39a6fbb2a6f65 100644 --- a/docs/standard/io/snippets/pipelines_2/ConsoleApp.csproj +++ b/docs/standard/io/snippets/pipelines_2/ConsoleApp.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/parallel-programming/snippets/cs/snippets.csproj b/docs/standard/parallel-programming/snippets/cs/snippets.csproj index 3d5613e340221..bffe597580a6b 100644 --- a/docs/standard/parallel-programming/snippets/cs/snippets.csproj +++ b/docs/standard/parallel-programming/snippets/cs/snippets.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable DownloadCache diff --git a/docs/standard/parallel-programming/snippets/vb/snippets.vbproj b/docs/standard/parallel-programming/snippets/vb/snippets.vbproj index 08801bad0b3fc..e943c8d6fb309 100644 --- a/docs/standard/parallel-programming/snippets/vb/snippets.vbproj +++ b/docs/standard/parallel-programming/snippets/vb/snippets.vbproj @@ -3,7 +3,7 @@ Exe snippets - net6.0 + net8.0 snippets.Snippets diff --git a/docs/standard/security/snippets/cryptographic-signatures/csharp/example.csproj b/docs/standard/security/snippets/cryptographic-signatures/csharp/example.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/standard/security/snippets/cryptographic-signatures/csharp/example.csproj +++ b/docs/standard/security/snippets/cryptographic-signatures/csharp/example.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/security/snippets/cryptographic-signatures/vb/example.vbproj b/docs/standard/security/snippets/cryptographic-signatures/vb/example.vbproj index 41f1d5ad4b264..a269962b552f0 100644 --- a/docs/standard/security/snippets/cryptographic-signatures/vb/example.vbproj +++ b/docs/standard/security/snippets/cryptographic-signatures/vb/example.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/docs/standard/security/snippets/cs-round-trip-encryption.sln b/docs/standard/security/snippets/cs-round-trip-encryption.sln deleted file mode 100644 index 58754c8e810c8..0000000000000 --- a/docs/standard/security/snippets/cs-round-trip-encryption.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.4.33103.184 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "aesdecrypt", "decrypting-data\csharp\aesdecrypt.csproj", "{C618E732-CA25-4886-A502-C650E044F7B0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "aesencrypt", "encrypting-data\csharp\aesencrypt.csproj", "{2B9C4907-62C0-4010-826F-2578E0E9A4C0}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C618E732-CA25-4886-A502-C650E044F7B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C618E732-CA25-4886-A502-C650E044F7B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C618E732-CA25-4886-A502-C650E044F7B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C618E732-CA25-4886-A502-C650E044F7B0}.Release|Any CPU.Build.0 = Release|Any CPU - {2B9C4907-62C0-4010-826F-2578E0E9A4C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2B9C4907-62C0-4010-826F-2578E0E9A4C0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2B9C4907-62C0-4010-826F-2578E0E9A4C0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2B9C4907-62C0-4010-826F-2578E0E9A4C0}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {C0A948B4-6CFA-4DF1-8CCB-57D3794E261A} - EndGlobalSection -EndGlobal diff --git a/docs/standard/security/snippets/decrypting-data/csharp/aesdecrypt.csproj b/docs/standard/security/snippets/decrypting-data/csharp/aesdecrypt.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/standard/security/snippets/decrypting-data/csharp/aesdecrypt.csproj +++ b/docs/standard/security/snippets/decrypting-data/csharp/aesdecrypt.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/security/snippets/decrypting-data/vb/aesdecrypt.vbproj b/docs/standard/security/snippets/decrypting-data/vb/aesdecrypt.vbproj index 120e38c315017..a269962b552f0 100644 --- a/docs/standard/security/snippets/decrypting-data/vb/aesdecrypt.vbproj +++ b/docs/standard/security/snippets/decrypting-data/vb/aesdecrypt.vbproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 diff --git a/docs/standard/security/snippets/encrypting-data/csharp/aesencrypt.csproj b/docs/standard/security/snippets/encrypting-data/csharp/aesencrypt.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/standard/security/snippets/encrypting-data/csharp/aesencrypt.csproj +++ b/docs/standard/security/snippets/encrypting-data/csharp/aesencrypt.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/security/snippets/encrypting-data/vb/aesencrypt.vbproj b/docs/standard/security/snippets/encrypting-data/vb/aesencrypt.vbproj index 120e38c315017..a269962b552f0 100644 --- a/docs/standard/security/snippets/encrypting-data/vb/aesencrypt.vbproj +++ b/docs/standard/security/snippets/encrypting-data/vb/aesencrypt.vbproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 diff --git a/docs/standard/security/snippets/replacing-a-principal-object/csharp/SetCurrentPrincipal.csproj b/docs/standard/security/snippets/replacing-a-principal-object/csharp/SetCurrentPrincipal.csproj index 1579065e33423..b22144551c59f 100644 --- a/docs/standard/security/snippets/replacing-a-principal-object/csharp/SetCurrentPrincipal.csproj +++ b/docs/standard/security/snippets/replacing-a-principal-object/csharp/SetCurrentPrincipal.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/docs/standard/security/snippets/replacing-a-principal-object/vb/SetCurrentPrincipal.vbproj b/docs/standard/security/snippets/replacing-a-principal-object/vb/SetCurrentPrincipal.vbproj index a7d8e37bef14e..c7889fc52b3c0 100644 --- a/docs/standard/security/snippets/replacing-a-principal-object/vb/SetCurrentPrincipal.vbproj +++ b/docs/standard/security/snippets/replacing-a-principal-object/vb/SetCurrentPrincipal.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/docs/standard/security/snippets/vb-rounbd-trip-encryption.sln b/docs/standard/security/snippets/vb-rounbd-trip-encryption.sln deleted file mode 100644 index 1727cc0ab5f22..0000000000000 --- a/docs/standard/security/snippets/vb-rounbd-trip-encryption.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.4.33103.184 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "aesencrypt", "encrypting-data\vb\aesencrypt.vbproj", "{9C38F6D6-4E70-450E-A560-9AB56A2BBB95}" -EndProject -Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "aesdecrypt", "decrypting-data\vb\aesdecrypt.vbproj", "{5D2417FD-D609-4D5E-86A4-972927DA1321}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {9C38F6D6-4E70-450E-A560-9AB56A2BBB95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9C38F6D6-4E70-450E-A560-9AB56A2BBB95}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9C38F6D6-4E70-450E-A560-9AB56A2BBB95}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9C38F6D6-4E70-450E-A560-9AB56A2BBB95}.Release|Any CPU.Build.0 = Release|Any CPU - {5D2417FD-D609-4D5E-86A4-972927DA1321}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5D2417FD-D609-4D5E-86A4-972927DA1321}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5D2417FD-D609-4D5E-86A4-972927DA1321}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5D2417FD-D609-4D5E-86A4-972927DA1321}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {3D5C1CAE-C861-485A-8FF9-C1FB4A6026C7} - EndGlobalSection -EndGlobal diff --git a/docs/standard/serialization/snippets/binaryformatter-event-source/csharp/binaryformatter-event-source.csproj b/docs/standard/serialization/snippets/binaryformatter-event-source/csharp/binaryformatter-event-source.csproj index 3df04bfd7435b..cb44805065520 100644 --- a/docs/standard/serialization/snippets/binaryformatter-event-source/csharp/binaryformatter-event-source.csproj +++ b/docs/standard/serialization/snippets/binaryformatter-event-source/csharp/binaryformatter-event-source.csproj @@ -1,4 +1,4 @@ - + Exe diff --git a/docs/standard/serialization/system-text-json/snippets/configure-options/csharp/SystemTextJsonOptions.csproj b/docs/standard/serialization/system-text-json/snippets/configure-options/csharp/SystemTextJsonOptions.csproj index 59ed84ca9213d..f704bf4988fa6 100644 --- a/docs/standard/serialization/system-text-json/snippets/configure-options/csharp/SystemTextJsonOptions.csproj +++ b/docs/standard/serialization/system-text-json/snippets/configure-options/csharp/SystemTextJsonOptions.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/serialization/system-text-json/snippets/converters-how-to/csharp/SystemTextJsonSamples.csproj b/docs/standard/serialization/system-text-json/snippets/converters-how-to/csharp/SystemTextJsonSamples.csproj index d0da09096fc8a..b98ee9bb88c8f 100644 --- a/docs/standard/serialization/system-text-json/snippets/converters-how-to/csharp/SystemTextJsonSamples.csproj +++ b/docs/standard/serialization/system-text-json/snippets/converters-how-to/csharp/SystemTextJsonSamples.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable SystemTextJsonSamples.Program diff --git a/docs/standard/serialization/system-text-json/snippets/custom-contracts/Project.csproj b/docs/standard/serialization/system-text-json/snippets/custom-contracts/Project.csproj index 8911129a946d4..49a369f3c900b 100644 --- a/docs/standard/serialization/system-text-json/snippets/custom-contracts/Project.csproj +++ b/docs/standard/serialization/system-text-json/snippets/custom-contracts/Project.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/docs/standard/serialization/system-text-json/snippets/how-to-contd/vb/SystemTextJsonHowTo.vbproj b/docs/standard/serialization/system-text-json/snippets/how-to-contd/vb/SystemTextJsonHowTo.vbproj index ac4a6b56925c8..8fe398fcb8f79 100644 --- a/docs/standard/serialization/system-text-json/snippets/how-to-contd/vb/SystemTextJsonHowTo.vbproj +++ b/docs/standard/serialization/system-text-json/snippets/how-to-contd/vb/SystemTextJsonHowTo.vbproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 SystemTextJsonHowTo.SystemTextJsonHowTo.Program diff --git a/docs/standard/serialization/system-text-json/snippets/how-to/vb/SystemTextJsonSamples.vbproj b/docs/standard/serialization/system-text-json/snippets/how-to/vb/SystemTextJsonSamples.vbproj index d21e6490cbaf6..66b23a6e1ec78 100644 --- a/docs/standard/serialization/system-text-json/snippets/how-to/vb/SystemTextJsonSamples.vbproj +++ b/docs/standard/serialization/system-text-json/snippets/how-to/vb/SystemTextJsonSamples.vbproj @@ -3,7 +3,7 @@ Exe SystemTextJsonSamples - net7.0 + net8.0 Sub Main diff --git a/docs/standard/serialization/system-text-json/snippets/source-generation/csharp/SystemTextJsonSamples.csproj b/docs/standard/serialization/system-text-json/snippets/source-generation/csharp/SystemTextJsonSamples.csproj index 16a504ee1ccac..5ac2db608ee85 100644 --- a/docs/standard/serialization/system-text-json/snippets/source-generation/csharp/SystemTextJsonSamples.csproj +++ b/docs/standard/serialization/system-text-json/snippets/source-generation/csharp/SystemTextJsonSamples.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 SystemTextJsonSamples.Program enable enable diff --git a/docs/standard/serialization/system-text-json/snippets/supported-collection-types/csharp/SystemTextJsonSamples.csproj b/docs/standard/serialization/system-text-json/snippets/supported-collection-types/csharp/SystemTextJsonSamples.csproj index 9d3b3e51287cd..5ac2db608ee85 100644 --- a/docs/standard/serialization/system-text-json/snippets/supported-collection-types/csharp/SystemTextJsonSamples.csproj +++ b/docs/standard/serialization/system-text-json/snippets/supported-collection-types/csharp/SystemTextJsonSamples.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 SystemTextJsonSamples.Program enable enable diff --git a/docs/visual-basic/language-reference/statements/snippets/for-each-next-statement/vb/vb.vbproj b/docs/visual-basic/language-reference/statements/snippets/for-each-next-statement/vb/vb.vbproj index 7c3e628458075..81a7f0490d284 100644 --- a/docs/visual-basic/language-reference/statements/snippets/for-each-next-statement/vb/vb.vbproj +++ b/docs/visual-basic/language-reference/statements/snippets/for-each-next-statement/vb/vb.vbproj @@ -3,7 +3,7 @@ Exe vb - net6.0 + net8.0 diff --git a/docs/visual-basic/language-reference/statements/snippets/try-catch-finally-statement/vb/vb.vbproj b/docs/visual-basic/language-reference/statements/snippets/try-catch-finally-statement/vb/vb.vbproj index 7c3e628458075..81a7f0490d284 100644 --- a/docs/visual-basic/language-reference/statements/snippets/try-catch-finally-statement/vb/vb.vbproj +++ b/docs/visual-basic/language-reference/statements/snippets/try-catch-finally-statement/vb/vb.vbproj @@ -3,7 +3,7 @@ Exe vb - net6.0 + net8.0 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 65eb4bdd219bb..90d9b1f5df388 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 - net6.0 + net8.0 diff --git a/dotnet-versionsweeper.json b/dotnet-versionsweeper.json index 9cb3e4f9d5f9c..f30d1c305ca40 100644 --- a/dotnet-versionsweeper.json +++ b/dotnet-versionsweeper.json @@ -12,6 +12,9 @@ "**/docs/core/whats-new/snippets/**/*.vbproj", "**/docs/core/whats-new/snippets/**/*.fsproj", "**/docs/csharp/advanced-topics/interop/snippets/**/*.csproj", - "**/docs/csharp/programming-guide/classes-and-structs/snippets/NamedAndOptional/namedandoptionalsnippets.csproj" + "**/docs/csharp/programming-guide/classes-and-structs/snippets/NamedAndOptional/namedandoptionalsnippets.csproj", + "**/docs/core/docker/snippets/7.0/**/*.csproj", + "**/docs/standard/serialization/system-text-json/snippets/how-to-6-0/csharp/SystemTextJsonSamples.csproj", + "**/docs/standard/serialization/snippets/binaryformatter-event-source/csharp/binaryformatter-event-source.csproj", ] }