Skip to content

Add -restore to msbuild invocations for Windows installer #64568

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 1 commit into from
Mar 23, 2023
Merged

Add -restore to msbuild invocations for Windows installer #64568

merged 1 commit into from
Mar 23, 2023

Conversation

tristanlabelle
Copy link
Contributor

I'm porting the Windows installer to WiX v4 in this PR: swiftlang/swift-installer-scripts#184 , to stop requiring an installed WiX and support arm64 installers. The updated wixproj depend on Nuget for WiX, so msbuild must be invoked with -restore to download any required packages before building. This should be a no-op with the current WiX v3 installer definitions.

@compnerd
Copy link
Member

Please test with following PRs:
swiftlang/swift-installer-scripts#184

@swift-ci please build toolchain windows platform

@tristanlabelle tristanlabelle changed the title Add -restore to msbuild call for Windows installer Add -restore to msbuild invocations for Windows installer Mar 23, 2023
@compnerd
Copy link
Member

@swift-ci please smoke test

@compnerd
Copy link
Member

This should be a no-op as it currently stands, so going to merge this.

@compnerd compnerd merged commit 1411639 into swiftlang:main Mar 23, 2023
@tristanlabelle tristanlabelle deleted the msbuild-installer-dash-restore branch March 23, 2023 19:08
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