-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Build script fails building with Visual Studio 2019 Preview 1 because script is looking for MsBuild in the wrong place #80
Comments
I should note also that this issue does not occur with the WinForms repo. That build script appears to handle both situations (e.g dealing with 2017 and 2019 paths) correctly. |
@chcosta - would this be something that Arcade SDK would need to fix? This is related to dotnet/msbuild#3778 Cc @ericstj |
Looks like WPF repo does not have this Arcade change: dotnet/arcade#1409 |
Cool, so all we need to do is wait a bit 😆 |
potentially dumb question, but since I manually changed the script to fix it, should I revert that or just do a git pull and it will overwrite what I changed with the fix? |
@Wintermute21 If you've done work on top of a commit with your fix, you can interactively rebase on top of the latest update once it arrives and just delete that commit. Otherwise, just be sure you don't commit your fix. Then you can pull the latest update when it arrives and resolve the conflict to pick up the latest. |
@rladuca Yeah, I hadn't committed my change so I'll just let Git overwrite it. |
@Wintermute21 It's my first official MS repo that I'm directly involved with, excitement all around! |
it's an amazing time to be a .NET dev and it keeps getting better. |
#83 failed. I'll start to look at it when I get in this morning. @vatsan-madhavan FYI. We have to figure out what is going on with the latest DARC PRs. |
#83 now passes after some changes from @vatsan-madhavan . @Wintermute21 Can you retry your build without your workaround and confirm you're good to go? |
Sure, let me get latest and give it a shot. One sec. |
@rladuca I just did a git pull and it does work out of the box now with the latest changes. 👍 |
@Wintermute21 Closing as everything seems to work now. |
Problem description:
When cloning and building using Visual Studio 2019 Preview 1, build.cmd fails by not looking for NuGet.exe in the correct directory for Preview.
Line 183 of eng/common/tools.ps1 has $script:buildDriver = Join-Path $vsInstallDir "MSBuild\15.0\Bin\msbuild.exe" where for Preview1 it should be $script:buildDriver = Join-Path $vsInstallDir "MSBuild\Current\Bin\msbuild.exe"
Actual behavior:
build fails with NuGet.exe not found
Expected behavior:
build succeeds and restores packages correctly.
Minimal repro:
clone and build under 2019 Preview 1.
The text was updated successfully, but these errors were encountered: