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

2023-05-25编程技术277045

错误

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

解决方法

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 找不到的相关教程结束。

本文地址:https://www.ufcn.cn/tutorials/2671853.html

如非特殊说明,本站内容均来自于网友自主分享,概不代表本站观点,如有任何问题我们都将在收到反馈后的第一时间进行处理!