我試圖用史蒂夫Sanderon的「ASP.NET核心+角2模板用於Visual Studio」ASP.NET核心模板包-wont創建項目
基本上它使用.NET的核心和一些其他的東西成立一個用於Angular2開發的Visual Studio項目。
當我嘗試創建使用「」模板創建一個新的項目,我得到的錯誤
The imported project "c:\program files(x86)\msbuild\microsoft\visualstudio\v14.0\dotnet\microstoft.dotnet.props" was not found. Confirm that the path in the <Import> declarration is correct and that the file exists on disk. C:\users\****\onedrive\documents\visual studio 2015\projects\angular2application\angular2application\angular2Application.xproj"
我不得不手動鍵入這,我已經檢查了它,但不能保證沒有錯字。 ..但你明白了。
如果按照第一條路徑,有沒有... \ v14.0 \ DOTNET文件夾
第二個路徑是VS想把項目,路徑存在高達.. \的Visual Studio 2015年\ projects \ 但它不會創建項目文件夾。 如果我問VS創建一個解決方案文件夾,它確實創建。
我已經安裝了以下
VS 2015年更新3
.NET 1.1的核心 - I did run through the initialization script found here
打字稿2.03
節點v6.10.1
出於某種原因,一些文件夾沒有安裝。 希望有人遇到這個問題,或有一些想法...
可能.net core 1.1與vs2015不兼容,您應該使用vs2017 – Alexan
如果您使用的是.NET Core 1.1,則需要使用VS 2017或VS代碼 – Set