Repository navigation
Revert "Fix Roslyn for source-build: Add Microsoft.NETCore.App.Ref targeting pack integration (#4801)" - #5116
Merged
Merged
Conversation
…rgeting pack integration (dotnet#4801)" This reverts commit a5bf99f, reversing changes made to fd28367.
ericstj
requested review from
ViktorHofer,
Copilot,
mthalman and
phil-allen-msft
February 27, 2026 02:56
agocke
approved these changes
Feb 27, 2026
Contributor
There was a problem hiding this comment.
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.
agocke
approved these changes
Feb 27, 2026
lewing
approved these changes
Feb 27, 2026
ericstj
enabled auto-merge (squash)
February 27, 2026 03:28
phil-allen-msft
approved these changes
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dotnet/source-build#5502
This reverts commit a5bf99f, reversing changes made to fd28367.