You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download a WinUI solution from git as Zip, then extract all, build project failed with error MSB3073: The command "git rev-parse HEAD" exited with code 9009.
Clone a WinUI solution from git with Visual Studio 2022, build project failed with error MSB3030: Could not copy the file "\vc_redist.x86.exe" because it was not found.
Navigate to the directory of repo(such as: cd C:\repo)
Run command: init.cmd.(If show a message saying it needs to reboot, then reboot and try again.)
Run command: build.cmd
Actual Result:
Failed with error: C:\repo\eng\binplace.targets(68,5): error MSB3030: Could not copy the file "\vc_redist.x86.exe" because it was not found. [C:\repo\dxaml\test\infra\BinplaceTestDependencies.csproj]
More info:
If download the repo as zip and then follow the repro steps, there is a different error:
C:\repo\src\XamlCompiler\Directory.Build.targets(7,5): error MSB3073: The command "git rev-parse HEAD" exited with code
9009. [C:\repo\src\XamlCompiler\Exe\Microsoft.UI.Xaml.Markup.Compiler.MSBuildInterop\Microsoft.UI.Xaml.Markup.Compiler
.MSBuildInterop.csproj]
Expected behavior
WinUI Projects build successfully.
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Download a WinUI solution from git as Zip, then extract all, build project failed with error MSB3073: The command "git rev-parse HEAD" exited with code 9009.
Clone a WinUI solution from git with Visual Studio 2022, build project failed with error MSB3030: Could not copy the file "\vc_redist.x86.exe" because it was not found.
Please check the original test case here.
Steps to reproduce the bug
Environment:
VS build: 17.7.0 Preview 2.0 [33715.387.main]
OS: Windows 11/Windows 10
Repro Steps:
Actual Result:
![image](https://private-user-images.githubusercontent.com/97647558/239222368-97d790e7-d442-429e-8302-efe4b184483b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzA2MDgsIm5iZiI6MTcyNTc3MDMwOCwicGF0aCI6Ii85NzY0NzU1OC8yMzkyMjIzNjgtOTdkNzkwZTctZDQ0Mi00MjllLTgzMDItZWZlNGIxODQ0ODNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA0MzgyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlMjMyN2FmODFhNmViNjJkNWM2MTg2MzkyMjQwMDgyZTAxMzQ5ZDNkZjlkMWU4NGQ0NzJiYjM3NGY4MWRjMjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KccBNQOusVwkHlA1soHqkNRN1zevv1BpxDQPQwVEq14)
Failed with error: C:\repo\eng\binplace.targets(68,5): error MSB3030: Could not copy the file "\vc_redist.x86.exe" because it was not found. [C:\repo\dxaml\test\infra\BinplaceTestDependencies.csproj]
More info:
![image](https://private-user-images.githubusercontent.com/97647558/239222187-78bdcd3d-b0a7-4d0b-91b0-0caf4596e47f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzA2MDgsIm5iZiI6MTcyNTc3MDMwOCwicGF0aCI6Ii85NzY0NzU1OC8yMzkyMjIxODctNzhiZGNkM2QtYjBhNy00ZDBiLTkxYjAtMGNhZjQ1OTZlNDdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA0MzgyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThkOGExYmVlOGQ0ODE1NjY1ZjM0N2E4ODVjYzUyMTUwNGUzZWI3ODcwNmUwZmE3YzRjYzE5YWIwNGU2NDM5NjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sJ1GZXKaV5UHkSMuJQNaVYyJBkKXLLH_O3T_TAAIi9E)
If download the repo as zip and then follow the repro steps, there is a different error:
C:\repo\src\XamlCompiler\Directory.Build.targets(7,5): error MSB3073: The command "git rev-parse HEAD" exited with code
9009. [C:\repo\src\XamlCompiler\Exe\Microsoft.UI.Xaml.Markup.Compiler.MSBuildInterop\Microsoft.UI.Xaml.Markup.Compiler
.MSBuildInterop.csproj]
Expected behavior
WinUI Projects build successfully.
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: