-
Notifications
You must be signed in to change notification settings - Fork 134
Build (just) the sdk bundle in sdk BuildPass=2 for win-x64, win-x86, win-arm64 #4777
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
Closed
Tracked by
#3739
Labels
Comments
ViktorHofer
added a commit
to ViktorHofer/sdk
that referenced
this issue
Mar 9, 2025
…rticals Fixes dotnet/source-build#4777 The msi bundle depends on artifacts from other windows verticals. Therefore, it needs to be generated in a BuildPass=2 vertical in the VMR. Update the existing BuildPass2 verticals and add the win-arm64 one. Update the logic to set a Boolean property that decides whether only the sdk bundle should be generated in redist-installer.proj. Update existing code so that GenerateMsis.targets doesn't not depend on other targets files aside form the newly introduce RestoreLayout.targets.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building the sdk installers in BuildPass=2 on Windows (as they depend on join assets from different verticals) the redist-installers.csproj project needs to be referenced in the repo's Build.props file. This causes the entire archive to be built again which is throw-away work and results in duplicate assets when merged and uploading everything. This is especially important as that logic will run in a BuildPass leg which means that it's on the critical path from a build time perspective.
It should be possible to encapsulate the logic that is responsible for creating the installers in dotnet/sdk and only invoke that.
The text was updated successfully, but these errors were encountered: