Reputation: 684
I get the 0x80070002 error every time I try to create an ASP.NET Core project. I have installed the VS 2015 update 3 and Microsoft .NET Core Tools/Templates.
I ended up with a blank solution with all 3 ASP.NET Core Templates. Checked the VS 2015 template folder for the corresponding files and it seems OK.
What could be the problem?
Upvotes: 2
Views: 1887
Reputation: 684
With few days internet hunting and no positive results tried following steps and got this working
Got everything working finally and didn't had to re-install/download VS 2015 CE.
Upvotes: 1
Reputation: 9044
Before you try uninstalling/installing everything Try this:
go to the main page https://www.microsoft.com/net/download/core
Do not run Step-by-Step installer for some reason it is installing the tools and not the framework. Instead run the individual installers
.NET Core 1.0.3 SDK - Installer (x64 / x86 .exe)
Visual Studio 2015 Tools (Preview 2) (x64 / x86 .exe)
The only issue I ran was that my local version of .net core was older and the Yeoman Generator is already using the new .csprj file (new to core lol) which force you to update to the latest version, so all I had to do was install the latest, for me at the time of this post is: .NET Core SDK 1.0 rc4 build 004771 https://github.com/dotnet/core/blob/master/release-notes/rc4-download.md
Upvotes: 0
Reputation: 2687
Try the following 2 things:
I've also written a blog post where you can find how to prepare your system for ASP.NET Core.
Upvotes: 2