Skip to content

Revert "Fix Roslyn for source-build: Add Microsoft.NETCore.App.Ref targeting pack integration (#4801)" - #5116

Merged
ericstj merged 2 commits into
dotnet:mainfrom
ericstj:revert4801
Feb 27, 2026
Merged

ericstj merged 2 commits into
dotnet:mainfrom
ericstj:revert4801

Conversation

@ericstj

@ericstj ericstj commented Feb 27, 2026

Copy link
Copy Markdown
Member

dotnet/source-build#5502

This reverts commit a5bf99f, reversing changes made to fd28367.

…rgeting pack integration (dotnet#4801)"

This reverts commit a5bf99f, reversing
changes made to fd28367.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 reverts commit a5bf99f, which had added Microsoft.NETCore.App.Ref targeting pack integration for source-build across multiple repositories. The revert is in response to issue #5502.

Changes:

  • Removes Microsoft.NETCore.App.Ref dependency declarations from Version.Details.xml files
  • Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions from Version.Details.props files
  • Removes PropertyGroup blocks that configured Known* targeting pack properties for source-build (KnownFrameworkReferenceMicrosoftNETCoreAppCurrent*, KnownCrossgen2PackCurrentVersion)

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vstest/eng/Version.Details.xml Removes Microsoft.NETCore.App.Ref dependency entry
src/vstest/eng/Version.Details.props Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions
src/vstest/Directory.Build.props Removes PropertyGroup that configured targeting pack properties for source-build
src/templating/eng/Version.Details.xml Removes Microsoft.NETCore.App.Ref dependency entry
src/templating/eng/Version.Details.props Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions
src/templating/Directory.Build.props Removes PropertyGroup that configured targeting pack properties for source-build
src/sourcelink/src/Directory.Build.props Removes PropertyGroup that configured targeting pack properties for source-build
src/sourcelink/eng/Version.Details.xml Removes Microsoft.NETCore.App.Ref dependency entry
src/sourcelink/eng/Version.Details.props Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions
src/roslyn/eng/targets/Imports.BeforeArcade.targets Removes targeting pack property configuration from source-build PropertyGroup
src/roslyn/eng/Version.Details.xml Removes Microsoft.NETCore.App.Ref dependency entry
src/roslyn/eng/Version.Details.props Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions
src/razor/eng/Version.Details.xml Removes Microsoft.NETCore.App.Ref dependency entry
src/razor/eng/Version.Details.props Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions
src/razor/Directory.Build.props Removes PropertyGroup that configured targeting pack properties for source-build
src/nuget-client/eng/Version.Details.xml Removes Microsoft.NETCore.App.Ref dependency entry
src/nuget-client/eng/Version.Details.props Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions
src/nuget-client/Directory.Build.props Removes PropertyGroup that configured targeting pack properties for source-build
src/msbuild/eng/Version.Details.xml Removes Microsoft.NETCore.App.Ref dependency entry
src/msbuild/eng/Version.Details.props Removes MicrosoftNETCoreAppRefPackageVersion and MicrosoftNETCoreAppRefVersion property definitions
src/msbuild/Directory.Build.props Removes PropertyGroup that configured targeting pack properties for source-build

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

Comment thread src/vstest/eng/Version.Details.xml Resolved
@ericstj
ericstj merged commit 9cab7cc into dotnet:main Feb 27, 2026
11 checks passed
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team February 27, 2026 05:37
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.

5 participants