-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix Microsoft.IO.Redist versions #48819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…fted up to a supported version Upgrade the minimum msbuild which had a 6.0.0 reference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (2)
- Directory.Packages.props: Language not supported
- eng/Versions.props: Language not supported
…MSBuild is not built into the dependency graph
@@ -61,8 +61,8 @@ | |||
</ItemDefinitionGroup> | |||
|
|||
<ItemGroup> | |||
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="Runtime" /> | |||
<PackageReference Include="Microsoft.Build.Utilities.Core" ExcludeAssets="Runtime" /> | |||
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="Runtime" IncludeAssets="Compile" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove ExcludeAssets="Runtime"
- it's trying to do the same thing, but doesn't exclude everything that might be considered a non-development asset. That's not causing an issue here, but better to standardize on IncludeAssets
I think you should adjust this condition, and below: Line 135 in a63310c
Test projects should use the latest, not minimum. That way your tests (which deploy MSBuild) can run against the latest. |
Add Microsoft.IO.Redist to Directory.packages.props to ensure it's lifted up to a supported version
Upgrade the minimum msbuild which had a 6.0.0 reference