Hi,
We are using TeamCity for our builds and I'd like to add in the capability to build from an SSRS project (rptproj). At the moment this is failing while invoking MSBUILD with the following error:
error MSB4226: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" was not found.
The TeamCity box has 'Visual Studio Build Tools 2017' installed. My predecessor managed to get this configured to build DACPACs (sqlproj); I'm not sure exactly how.
The much referenced post about support for SSRS with MSBUILD (https://blogs.msdn.microsoft.com/sqlrsteamblog/2017/09/25/msbuild-support-for-reporting-services-projects-now-available/) says that the intention is to enable using MSBUILD without having Visual Studio installed. Yet the associated download for 'Reporting Services Projects for Visual Studio 2017' leads to a VSIX file which, as far as I know, can only be installed into a Visual Studio instance.
So I wonder how best to proceed. I looked at the GUI for 'Visual Studio Build Tools 2017' (via Programs and Features, Change. But there's no option there to add elements for SSDT.
The blog post referenced above shows a list of dlls required. Again, the path suggests that an instance of Visual Studio is required.
I could (and will) install Visual Studio if required. But if there's a cleaner way to achieve the same end just with MSBUILD and/or 'Visual Studio Build Tools 2017' that would be preferable.
Most grateful for any guidance.
Thank you
Sebastian