【发布时间】:2023-03-05 04:17:01
【问题描述】:
我正在尝试使用 Steve Sanderon 的“用于 Visual Studio 的 ASP.NET Core + Angular 2 模板”
基本上,它使用 .net core 和其他一些东西来建立一个用于 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 core 1.1 -I did run through the initialization script found here
TypeScript 2.03
节点 v6.10.1
由于某种原因,某些文件夹没有安装。 希望有人遇到过这个问题,或者有一些想法......
【问题讨论】:
-
可能.net core 1.1不兼容vs2015,应该使用vs2017
-
如果您使用 .NET Core 1.1,则需要使用 VS 2017 或 VS Code
标签: visual-studio-2015 asp.net-core .net-core