tobania / VSTS.Extension.SqlReportingServices

VSTS Extension for uploading SSRS Reports
MIT License
14 stars 20 forks source link

TargetServerVersion #43

Closed mchaari closed 6 years ago

mchaari commented 6 years ago

Hello, Is there any option to choose the Target Server Version please ? Thanks

anton-kirschhock commented 6 years ago

Could you be more specific? As far as I am aware the Api is cross version

mchaari commented 6 years ago

I developped my reports on VS 2017. When deploying reports via VS, in Project -> Propeties, I change TargetServerVersion to 2014, to deploy on SQL Server 2014. In VSTS extension, I don't know if there is an option to do this. Regards.

ygeelen-tb commented 6 years ago

@mchaari what you can do is build your SSRS project in your build definition using MsBuild and specify your BuildConfiguration as MsBuild argument. In your build configuration you can configure the desired TargetServerVersion. Then in your Release Definition you can pick up the artifacts of the build and just deploy them. image

mchaari commented 6 years ago

Ok, thanks 👍