24
外部VS2013生成错误“错误MSB4019:找不到导入的项目<路径>”
我正在通过命令行而不是在Visual Studio 2013中构建项目。请注意,我已将项目从Visual Studio 2012升级到2013。该项目在IDE中的构建良好。另外,我首先完全卸载了VS2012,重新启动并安装了VS2013。我拥有的Visual Studio的唯一版本是2013 Ultimate。 ValidateProjects: 39>path_to_project.csproj(245,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. 39>Done Building Project "path_to_project.csproj" (Clean target(s)) -- FAILED. 这是有问题的两行: <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != …