У меня есть решение 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 Studio2017 до последней версии 15.9.6, но это не помогло.