-
Couldn't load subscription status.
- Fork 1.2k
Open
Labels
Description
Several projects in this repo build MSBuild task assemblies. They all have clauses in their project file like
| <PackageReference Include="System.Collections.Immutable" VersionOverride="$(SystemCollectionsImmutableToolsetPackageVersion)" /> | |
| <PackageReference Include="System.Reflection.Metadata" VersionOverride="$(SystemReflectionMetadataToolsetPackageVersion)" /> | |
| <PackageReference Include="System.Reflection.MetadataLoadContext" VersionOverride="$(SystemReflectionMetadataLoadContextToolsetPackageVersion)" /> |
That serve to keep the .NET Framework task unified with the dependencies that MSBuild has. Unfortunately they can differ.
We should extract the concept of "this project builds SDK MSBuild tasks" to an imported SDKDeliveredMSBuildTask.props file that includes the references like that, and import it in the various projects that build tasks.
You can find those projects by searching for SystemReflectionMetadataToolsetPackageVersion and other properties to make sure you've found them all.
Copilot