我在TFS构建定义中使用MS构建来创建一个单击部署。
一切都很好,但MS Build忽略了/p:Configuration,在创建exe.config.deploy时使用默认的app.config而不是必需的app.dev.config。
是否有我应该使用的不同属性?
这是我正在使用的MS版本。
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo /noconsolelogger "C:\Builds\70\UTI-IT\LMSIntegrationTool_CO_QA2\Sources\src\LMSIntegrationTool\LMSScheduling.sln" /m:1 /fl /flp:"logfile=C:\Builds\70\UTI-IT\LMSIntegrationTool_CO_QA2\Sources\src\LMSIntegrationTool\LMSScheduling.log;encoding=Unicode;verbosity=diagnostic" /target:publish /p:SkipInvalidConfigurations=true /p:DeployOnBuild=True /p:Configuration=DEV /p:DeployPublishMethod=WMSVC /p:MsDeployServiceURL=corpdevweb11 /p:AllowUntrustedCertificate=true /p:ApplicationVersion=1.0.30301.5 /p:OutDir=\\prdtfsbld01\drops\LMSSchedulerTest\\ /p:PublishDir=\\prdtfsbld01\drops\LMSSchedulerTest\\ /p:OutDir="C:\Builds\70\UTI-IT\LMSIntegrationTool_CO_QA2\Binaries\\" /p:RunCodeAnalysis="False" 发布于 2013-03-12 01:37:47
构建服务器上没有安装慢猎豹。感谢您的回复。
https://stackoverflow.com/questions/15303472
复制相似问题