Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asp.Net 5 core 1.0 Incompatible / Template not found

I am stumped on this one, I am trying to build my first core 1.0 application and for some reason I cannot get the core 1.0 templates to load correctly both in a new solution and when I try to open a sample core 1.0 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 5 Core 1.0 project to a .Net solution I get the following error:

Error adding project

When I try to open a solution with an ASP.Net 5 project inside of it I get the following error: Error Opening Solution

Finally, if I try to remove the project and re-add it through add existing project I get 2 error messages:

Error Re-adding 1 Error Re-adding 2

I have been stumped on this for the past 2 days, please help! Thanks in advance!

Edit: Just to prove I have the correct binaries installed: enter image description here

like image 243
Aaron Davis Avatar asked Oct 30 '22 04:10

Aaron Davis


1 Answers

I found the issue, it seems that Asp.Net 5 / 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 5 install. I had to do a full Visual Studio clean uninstall using /uninstall /force, then I had to utilize the /CustomInstallPath to reinstall visual studio to the C:/ drive.

like image 198
Aaron Davis Avatar answered Nov 08 '22 09:11

Aaron Davis