Skip to content

Conversation

@mconnew
Copy link
Member

@mconnew mconnew commented Oct 22, 2025

Used darc to point to the net10 rtm candidate build so I can reference net10 rtm packages.
Updated compatibility supression files as we're now targeting net10
Suppress warning for code using the X509Certificate2 constructor.

@mconnew mconnew force-pushed the Net10ReleasePrep branch 3 times, most recently from 6f739df to 197ec62 Compare October 23, 2025 21:06
@mconnew
Copy link
Member Author

mconnew commented Oct 24, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@mconnew
Copy link
Member Author

mconnew commented Oct 24, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@mconnew mconnew requested a review from Copilot October 24, 2025 18:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to target .NET 10.0 RTM, including framework version updates, compatibility suppression file updates, and suppression of SYSLIB0057 warnings for X509Certificate2 constructor usage.

  • Updated target framework from net8.0/net9.0 to net10.0 across all projects
  • Added compatibility suppressions for the new net10.0 target framework
  • Suppressed SYSLIB0057 warnings where X509Certificate2 constructors are used

Reviewed Changes

Copilot reviewed 41 out of 69 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/svcutilcore/tests/dotnet-svcutil.xmlserializer.IntegrationTests.csproj Updated target framework to net10.0
src/svcutilcore/src/dotnet-svcutil.xmlserializer.csproj Changed target frameworks to net10.0 only
src/System.ServiceModel.UnixDomainSocket/src/CompatibilitySuppressions.xml Added PKV006 suppression for net8.0
src/System.ServiceModel.Primitives/src/System/ServiceModel/X509CertificateEndpointIdentity.cs Added SYSLIB0057 pragma suppressions around X509Certificate2 constructor
src/System.ServiceModel.Primitives/src/System/ServiceModel/Security/SecurityUtils.cs Added SYSLIB0057 pragma suppressions around X509Certificate2 constructor
src/System.ServiceModel.Primitives/src/System/ServiceModel/Security/SecurityHeaderTokenResolver.cs Added SYSLIB0057 pragma suppressions around X509Certificate2 constructor
src/System.ServiceModel.Primitives/src/System/ServiceModel/Security/ReceiveSecurityHeader.cs Added SYSLIB0057 pragma suppressions around X509Certificate2 constructor
src/System.ServiceModel.Primitives/src/System/IdentityModel/Tokens/X509RawDataKeyIdentifierClause.cs Added SYSLIB0057 pragma suppressions around X509Certificate2 constructor
src/System.ServiceModel.Primitives/src/System/IdentityModel/SecurityUtils.cs Added SYSLIB0057 pragma suppressions around X509Certificate2 constructor
src/System.ServiceModel.NetTcp/src/CompatibilitySuppressions.xml Updated compatibility suppressions from net8.0 to net10.0 references
src/System.ServiceModel.NetNamedPipe/src/CompatibilitySuppressions.xml Added PKV006 suppression for net8.0
src/System.ServiceModel.NetFramingBase/tests/System.ServiceModel.NetFramingBase.Tests.csproj Updated target framework to net10.0
src/System.ServiceModel.NetFramingBase/src/CompatibilitySuppressions.xml Added PKV006 suppression for net8.0
src/System.ServiceModel.Http/src/CompatibilitySuppressions.xml Updated compatibility suppressions from net8.0 to net10.0 references
src/System.Private.ServiceModel/tools/SelfHostedCoreWcfService/SelfHostedCoreWCFService.csproj Updated target framework to net10.0
src/System.Private.ServiceModel/tools/IISHostedWcfService/App_code/WcfService.cs Migrated from WebHostBuilder to Host.CreateDefaultBuilder pattern
src/System.Private.ServiceModel/tools/IISHostedWcfService/App_code/WcfRestartService.cs Changed IWebHost references to IHost
src/System.Private.ServiceModel/tools/IISHostedWcfService/App_code/TestDefinitionHelper.cs Migrated from WebHostBuilder to WebApplicationBuilder
src/System.Private.ServiceModel/tests/Common/Unit/UnitTests.Common.csproj Updated to use UnitTestTargetFrameworks variable
src/System.Private.ServiceModel/tests/Common/Scenarios/ScenarioTests.Common.Tests.csproj Updated to use ScenarioTestTargetFrameworks variable
src/System.Private.ServiceModel/tests/Common/Infrastructure/ServiceUtilHelper.cs Added SYSLIB0057 pragma suppressions around X509Certificate2 constructors
src/System.Private.ServiceModel/tests/Common/Infrastructure/Infrastructure.Common.csproj Updated to use ScenarioTestTargetFrameworks variable
src/System.Private.ServiceModel/tests/Common/Infrastructure/CertificateManager.cs Renamed fields to follow camelCase naming and added SYSLIB0057 suppression
eng/common/tools.ps1 Updated MSBuild XCopy version from 17.14.16 to 17.13.0
eng/common/sdl/NuGet.config Fixed XML encoding declaration
eng/common/sdk-task.ps1 Updated MSBuild XCopy version from 17.14.16 to 17.13.0
eng/common/post-build/nuget-verification.ps1 Changed NuGet package source to api.nuget.org
eng/common/native/install-dependencies.sh Removed Amazon Linux specific dependency installation
eng/common/internal-feed-operations.sh Changed comparison operator from -gt to >
eng/common/dotnet.sh Changed comparison operator from -gt to >
eng/common/dotnet-install.sh Changed comparison operator from -gt to >
eng/common/darc-init.sh Changed comparison operator from -gt to >
eng/common/core-templates/steps/source-index-stage1-publish.yml Downgraded source index package versions
eng/common/core-templates/steps/install-microbuild-impl.yml Removed entire file
eng/common/core-templates/steps/generate-sbom.yml Downgraded package version from 11.0.0 to 10.0.0
eng/common/core-templates/job/job.yml Removed preview MicroBuild parameters
eng/common/build.sh Changed comparison operator from -gt to >
eng/common/SetupNugetSources.ps1 Refactored private feed credential management
eng/SendToHelix.proj Updated CoreWCF service paths from net8.0 to net10.0
NuGet.config Added darc-pub-dotnet-dotnet package source
Directory.Build.props Updated DotNetVersion and test target frameworks to net10.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mconnew mconnew merged commit e783b9b into dotnet:main Oct 24, 2025
13 checks passed
@mconnew mconnew deleted the Net10ReleasePrep branch October 24, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants