I am trying to build my first ASP.NET Core 1.0 application and for some reason I cannot get the templates to load correctly both in a new solution and when I try to open a sample solution.
I currently have Microsoft ASP.NET 5 RC1 Update 1 installed. I am using Visual Studio 2015 Enterprise edition Update 2 with pretty much all the features installed. I have tried repairing visual studio, and also tried reinstalling visual studio with just Visual Studio Community Edition. When I try to add an ASP.NET Core 1.0 project to a .NET solution I get the following error:
When I try to open a solution with an ASP.Net 5 project inside of it I get the following error:
Finally, if I try to remove the project and re-add it through add existing project I get two error messages:
It seems that ASP.NET Core 1.0 does not support a Visual Studio install to a drive other than the C:/ drive. I had it installed on the D:/ drive and because of this it was not finding the templates from the ASP.NET install. I had to do a full Visual Studio clean uninstall using <visualstudio installer> /uninstall /force
, then I had to utilize the <visualstudio installer> /CustomInstallPath <Installation Directory>
to reinstall visual studio to the C:/ drive.