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”。请确认 <Import> 声明中的路径正确,且磁盘上存在该文件。  E:\Github\AutoMapper\src\AutoMapper\AutoMapper.CoreCLR.kproj

image

 

解决方法

 

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.

posted @ 2016-09-18 16:02  霍旭东  阅读(372)  评论(0编辑  收藏  举报