How do you get reporting projects to build on a server that only has VS2019 Build Tools installed?
My build fails with the following error. There is no "Reporting Services" sub folder under MSBuild on our build server:
error MSB4226: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\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\2019\BuildTools\MSBuild\Current\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.
Is the only option to separately install reporting services projects from the marketplace: https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio? The preference is to only have VS Build Tools installed on our build server so a Nuget package or including the required components for SSRS with the VS Build Tools would be ideal.