Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio Devenv部署参数_Visual Studio_Deployment_Report - Fatal编程技术网

Visual studio Devenv部署参数

Visual studio Devenv部署参数,visual-studio,deployment,report,Visual Studio,Deployment,Report,我有一个报表项目,我想用脚本将其部署到开发服务器。我只需要在项目属性中更改TargetServerUrl。有办法做到这一点吗 i、 e &devenv.exe RSReports.sln/project Reports\Reports.rptproj/deploy maybe=>properties:TargetServerUrl=我对报表项目一无所知,但在几乎每个VS项目中,您都可以定义多个“配置”(默认为Debug和Release)。因此,您可以让一个目标处于调试模式,另一个处于发布模式,并

我有一个报表项目,我想用脚本将其部署到开发服务器。我只需要在项目属性中更改TargetServerUrl。有办法做到这一点吗

i、 e

&devenv.exe RSReports.sln/project Reports\Reports.rptproj/deploy


maybe=>properties:TargetServerUrl=

我对报表项目一无所知,但在几乎每个VS项目中,您都可以定义多个“配置”(默认为Debug和Release)。因此,您可以让一个目标处于调试模式,另一个处于发布模式,并使用命令行

devenv /deploy Release RSReports.sln
另一个选项是使用该实用程序来构建项目(而不是devenv),并使用它的proprerty replacemnet参数

"c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" "Full path to soulution" /t:Build /p:Configuration=Release /p:TargetServerUrl=http://myserver/ReportServer

我对报表项目一无所知,但在几乎每个VS项目中,您都可以定义多个“配置”(默认为调试和发布)。因此,您可以让一个目标处于调试模式,另一个处于发布模式,并使用命令行

devenv /deploy Release RSReports.sln
另一个选项是使用该实用程序来构建项目(而不是devenv),并使用它的proprerty replacemnet参数

"c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" "Full path to soulution" /t:Build /p:Configuration=Release /p:TargetServerUrl=http://myserver/ReportServer