aspnet / Mvc

[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
5.62k stars 2.14k forks source link

Trouble building source #8710

Closed TKharaishvili closed 5 years ago

TKharaishvili commented 5 years ago

After cloning the master branch and running build.cmd, I ran into the following problem:

image

It might be relevant to note that running it with the compile flag - build.cmd /t:compile - works successfully.

Afterwards I tried to open the solution - Mvc.sln, but found no luck there either as a number of projects are failing to load:

image

If I try to reload them, the Project file is incomplete. Expected imports are missing. error message shows up.

P.S. I realize that this a fairly annoying issue and you guys have more important ones to deal with. I appreciate the help very much.

pranavkm commented 5 years ago

@TKharaishvili can you a list the tests that are failing? I was able to build the repo successfully now, so it might be a machine specific (possibly locale specific) test failure.

See https://github.com/aspnet/AspNetCore/wiki/Building-from-source#building-in-visual-studio--code for steps required to build from source.

TKharaishvili commented 5 years ago

@pranavkm rearranging path variables did the trick, I can now build it successfully with VS. Thank you so much and I hope I didn't cost you too much time. I'm now gonna close the issue.