-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reference latest MSBuild for netcore MSBuild stuff
MSBuild references were changed in #38506 to use MSBuildMinimumVersion in all non-source-build scenarios, but that's not necessary: the SDK will deliver the latest .NET MSBuild and use it for all CLI-driven builds. Using the old version broke some tests because of a mismatch between newer targets and the old engine that was being used to execute tests. Instead, split the reference based on the TF of the project that is building: for `net472`, use the minimum version if available, but for `$(SdkTargetFramework)` always use the latest.
- Loading branch information
1 parent
26f1dfd
commit 793615d
Showing
2 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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