-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Unable to build from command line: restore.cmd/build.cmd fails #33411
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
Comments
Turns out this was my mistake. Running Leaving this issue open in case we want to add anything to the build scripts to make this easier to diagnose. |
Documents already say
Is the action here to:
If yes, the fix would be in https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md and this would be a good first issue (hint, hint). |
I'd rather the build not fail when I've explicitly mentioned |
There are still doc problems in that we don't need preview versions of VS at the moment and don't mention In addition to that, |
Ah thank you! That's what I was looking for |
Hi @dougbu, I'd be happy to make the changes to the document if it's still required? |
If a doc change would have helped you, @shirhatti, or others get going in this repo, I'm all for it. Much appreciated @KevRitchie❕ |
No problem @dougbu. In summary the changes would be:
That look OK? |
Sounds great. Thanks @KevRitchie❕ |
Sounds like the Build From Source instructions have been redesigned so this issue may no longer be relevant. See comment |
@dotnet/aspdoi this or similar problems come up most times we change our VS requirements and it's not clear how best to inform our community. A pinned issue for (say) two weeks after we add a new component or stop supporting a VS version might work but I've heard comments about usability there. Ideas much appreciated. |
A curated error message would be great instead of some random vcxproj error that no one understands. Like if there was a way for us to see what you have available on the machine and compare it to what is required. |
I have a similar problem, only updating VS does not help, no matter if I run Running
Edit: |
Closing as we haven't heard more feedback about this being a problem. |
Describe the bug
Unable to build from command line:
restore.cmd
/build.cmd
fails.(Running
.\build.cmd /p:BuildNative=false
also fails)To Reproduce
Running
restore.cmd
fails on main ( which is currently at 0ecf4c1)Exceptions (if any)
Further technical details
The text was updated successfully, but these errors were encountered: