Skip to content

Conversation

@ViktorHofer
Copy link
Member

... of previous .NET Framework versions in docs / tests.

NetFrameworkMinimum (net462) -> NetFrameworkCurrent (net481) so that we can start consuming xunit v3 which requires at least net472. Use NetFrameworkCurrent as the actual runtime that is then used is .NET Framework 4.8.1 anyway (innerloop & CI).

@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 18, 2025
... of previous .NET Framework versions in docs / tests.

NetFrameworkMinimum (net462) -> NetFrameworkCurrent (net481) so that we can
start consuming xunit v3 which requires at least net472. Use
NetFrameworkCurrent as the actual runtime that is then used is
.NET Framework 4.8.1 anyway (innerloop & CI).
@ViktorHofer ViktorHofer marked this pull request as ready for review March 19, 2025 20:12
Copilot AI review requested due to automatic review settings March 19, 2025 20:12
@ViktorHofer
Copy link
Member Author

@akoeplinger PTAL

Copy link
Contributor

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 target .NET Framework version from net48 to net481 in pipelines, tests, and documentation to meet the requirements for consuming xUnit v3.

  • Updates condition checks and build arguments across pipeline YAML files.
  • Updates documentation to reflect the new framework version.

Reviewed Changes

Copilot reviewed 121 out of 135 changed files in this pull request and generated no comments.

Show a summary per file
File Description
eng/pipelines/libraries/helix-queues-setup.yml Changed framework condition checks and references
eng/pipelines/libraries/outerloop.yml Updated framework values and build arguments
docs/coding-guidelines/project-guidelines.md Updated supported .NET Framework version
eng/pipelines/extra-platforms/runtime-extra-platforms-other.yml Updated framework-related parameters in pipeline configuration
eng/pipelines/runtime.yml Updated framework-related parameters in build configuration
docs/workflow/building/libraries/README.md Updated documentation for .NET Framework version
Files not reviewed (14)
  • Directory.Build.props: Language not supported
  • eng/build.ps1: Language not supported
  • eng/build.sh: Language not supported
  • src/libraries/Common/tests/TestUtilities/TestUtilities.csproj: Language not supported
  • src/libraries/Microsoft.Bcl.AsyncInterfaces/tests/Microsoft.Bcl.AsyncInterfaces.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Bcl.Cryptography/tests/Microsoft.Bcl.Cryptography.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Bcl.Memory/tests/Microsoft.Bcl.Memory.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Bcl.Numerics/tests/Microsoft.Bcl.Numerics.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Bcl.TimeProvider/tests/Microsoft.Bcl.TimeProvider.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Extensions.Caching.Memory/tests/Microsoft.Extensions.Caching.Memory.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Extensions.Configuration.Binder/tests/UnitTests/Microsoft.Extensions.Configuration.Binder.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Extensions.Configuration.CommandLine/tests/Microsoft.Extensions.Configuration.CommandLine.Tests.csproj: Language not supported
  • src/libraries/Microsoft.Extensions.Configuration.EnvironmentVariables/tests/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests.csproj: Language not supported
Comments suppressed due to low confidence (1)

eng/pipelines/libraries/helix-queues-setup.yml:140

  • The framework equality check was changed to compare against '1' instead of the expected 'net481'. Please update this condition to use 'net481' to ensure consistency with the intended target framework.
-      - ${{ if eq(parameters.jobParameters.framework, 'net48') }}:

@ViktorHofer
Copy link
Member Author

/ba-g failure is unrelated: #103449

@ViktorHofer ViktorHofer merged commit 5379704 into dotnet:main Mar 20, 2025
155 of 158 checks passed
@ViktorHofer ViktorHofer deleted the TargetNetFrameworkCurrentInTests branch March 20, 2025 20:30
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants