v14.0\AspNet\Microsoft.Web.AspNet.Props 找不到

 

错误


E:\Github\AutoMapper\src\AutoMapper\AutoMapper.CoreCLR.kproj : error  : 未找到导入的项目“C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AspNet\Microsoft.Web.AspNet.Props”。请确认 声明中的路径正确,且磁盘上存在该文件。  E:\Github\AutoMapper\src\AutoMapper\AutoMapper.CoreCLR.kproj

v14.0\AspNet\Microsoft.Web.AspNet.Props 找不到_第1张图片

 

解决方法

 

Install-Package MSBuild.Microsoft.VisualStudio.Web.targets
 

Why?

MSBuild.Microsoft.VisualStudio.Web.targets

 

MSBuild targets for Web and WebApplications that come with Visual Studio. Useful for build servers that do not have Visual Studio installed.

Includes .targets files from Visual Studio 2015 that can be found in the C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\{Web,WebApplications} directories.

The files are in the tools\VSToolsPath directory.

你可能感兴趣的:(v14.0\AspNet\Microsoft.Web.AspNet.Props 找不到)