Skip to content

Copy files for MSI layout from the post-crossgen'd location #49096

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

jkoritzinsky
Copy link
Member

Fixes internal issue reported where the .NET 10.0.100 Preview 4 SDK didn't have R2Rd Roslyn in the Exe/Msi installers.

Fixes internal issue reported where the .NET 10.0.100 Preview 4 SDK didn't have R2Rd Roslyn in the Exe/Msi installers.
@Copilot Copilot AI review requested due to automatic review settings May 21, 2025 22:23
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.

Pull Request Overview

Updates the installer layout to pull SDK files from the post-crossgen output location rather than the default build output, ensuring R2Rd Roslyn is included in MSI installers.

  • Switches the SdkOutputFile item’s source from $(OutputPath) to $(InstallerOutputDirectory)
Comments suppressed due to low confidence (1)

src/Layout/redist/targets/GenerateInstallerLayout.targets:97

  • Consider adding an explicit directory separator before the wildcard (e.g., $(InstallerOutputDirectory)\\**\\*) to ensure correct path resolution regardless of whether InstallerOutputDirectory ends with a slash.
<SdkOutputFile Include="$(InstallerOutputDirectory)**\\*" />

jkoritzinsky added a commit to dotnet/dotnet that referenced this pull request May 21, 2025
…rossgen'd location

Fixes internal issue reported where the .NET 10.0.100 Preview 4 SDK didn't have R2Rd Roslyn in the Exe/Msi installers.

Main PR at dotnet/sdk#49096
Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, my fault. Thanks for fixing.

@jkoritzinsky jkoritzinsky enabled auto-merge (squash) May 22, 2025 06:21
@ViktorHofer
Copy link
Member

@jkoritzinsky I pushed a commit to your branch as the target dependson was now incorrect. Shouldn't need a backport into P5 though. This is a correctness thing only.

@ViktorHofer ViktorHofer disabled auto-merge May 22, 2025 07:49
@ViktorHofer
Copy link
Member

Failures are unrelated. Merging.

@ViktorHofer ViktorHofer merged commit 53891b5 into main May 22, 2025
26 of 30 checks passed
@ViktorHofer ViktorHofer deleted the jkoritzinsky-patch-1 branch May 22, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants