[英]0x80070002 Error when creating a new .Net Core project in VS 2015 Community Edition
I get the 0x80070002 error every time I try to create an ASP.NET Core project. 每次尝试创建ASP.NET Core项目时,都会收到0x80070002错误。 I have installed the VS 2015 update 3 and Microsoft .NET Core Tools/Templates.
我已经安装了VS 2015 Update 3和Microsoft .NET Core工具/模板。
I ended up with a blank solution with all 3 ASP.NET Core Templates. 最后,我得到了所有3个ASP.NET Core模板的空白解决方案。 Checked the VS 2015 template folder for the corresponding files and it seems OK.
检查了VS 2015模板文件夹中的相应文件,看来还可以。
What could be the problem? 可能是什么问题呢?
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. 我还写了一篇博客文章 ,您可以在其中找到如何为ASP.NET Core准备系统。
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. 一切都终于工作了,而无需重新安装/下载VS 2015 CE。
Before you try uninstalling/installing everything Try this: 在尝试卸载/安装所有组件之前,请尝试以下操作:
go to the main page https://www.microsoft.com/net/download/core 转到主页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) .NET Core 1.0.3 SDK-安装程序(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 我运行的唯一问题是我的.net core本地版本较旧,并且Yeoman Generator已经使用了新的.csprj文件(对lol来说是新的),它迫使您更新到最新版本,因此,我所要做的只是已安装最新版本,在撰写本文时对我来说是.NET Core SDK 1.0 rc4内部版本004771 https://github.com/dotnet/core/blob/master/release-notes/rc4-download.md
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.