【发布时间】:2019-06-25 13:32:58
【问题描述】:
我有一个 Visual Studio 2015 解决方案,其中包含一个 Reporting Services 项目 (*.rptproj),该项目用于在我们的 TFS 构建服务器上构建良好。
我将解决方案升级到 Visual Studio 2017,现在它在 CI 构建期间失败并出现以下错误:
<Reporting-Services-Project-Path>\<Reporting-Services-Project-Name>.rptproj (57, 11)
The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" was not found. Also, tried to find "Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\msbuild.exe.Config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths.
Process 'msbuild.exe' exited with code '1'.
我们使用的是 TFS 2015。我已将 Visual Studio Build Tools 2017 更新到最新版本 15.9.6,但这并没有帮助。
【问题讨论】:
标签: reporting-services msbuild tfsbuild sql-server-data-tools