Skip to content

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

marcpopMSFT
Copy link
Member

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

…fted up to a supported version

Upgrade the minimum msbuild which had a 6.0.0 reference
@Copilot Copilot AI review requested due to automatic review settings May 5, 2025 22:35
Copy link
Contributor

@Copilot Copilot AI left a 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

@marcpopMSFT marcpopMSFT requested review from a team and vijayrkn as code owners May 6, 2025 22:33
@@ -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" />
Copy link
Member

@ericstj ericstj May 6, 2025

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

@ericstj
Copy link
Member

ericstj commented May 6, 2025

I think you should adjust this condition, and below:

<ItemGroup Condition="'$(DotNetBuildSourceOnly)' == 'true' or '$(TargetFramework)' != 'net472'">

Test projects should use the latest, not minimum. That way your tests (which deploy MSBuild) can run against the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants