How to build SSRS reports (rptproj) with TeamCity and Visual Studio 2015

后端 未结 1 1652
面向向阳花
面向向阳花 2021-01-21 08:07

We have a build step to build a solution with about 70 projects using the Visual Studio (sln) as the runner type. We are able to successfully build other projects that are not s

1条回答
  •  不思量自难忘°
    2021-01-21 08:42

    You have to build the rptproj by calling Visual Studio executable (devenv.exe):

    "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" "[fullpath]\FooBarSolution.sln" /Rebuild [SolutionConfiguration] /Project KPI /Log "[fullpath]\Logs\KPI.Build.Log.log" /Out "[fullpath]\Logs\KPI.Build.Out.log"

    Also you have to set the TargetServerVersion property of the project to SQL Server 2008

    0 讨论(0)
提交回复
热议问题