我有一个Visual Studio 2015解决方案,其中包含一个Reporting Services项目(*.rptproj),该项目用于在我们的TFS生成服务器上生成fine。
我将解决方案升级到了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生成工具2017更新为最新版本15.9.6,但这并没有起到任何作用。