TFS2010部署解决方案二Web项目
我正在研究 2 个网络项目的解决方案。有问题。在测试服务器上构建项目后,应将它们放置在两个不同的文件夹和站点 IIS 中。我使用 TFS2010 来构建它,并使用 MsBuild 参数启动 buildind:
/p:DeployOnBuild=True
/p:DeployTarget=MSDeployPublish
/p:CreatePackageOnPublish=True
/p:MSDeployPublishMethod=WMSVC
/p:MSDeployServiceUrl=https://dnx-test:8172/MsDeploy.axd
/p:DeployIisAppPath="AppPath"
/p:UserName=domain\username
/p:Password="password"
/p:Configuration=QA
/p:AllowUntrustedCertificate=True.
并且只有一个项目进入正确的文件夹(在构建设置中配置的放置文件夹)。
我应该怎么做才能将第二个项目放在另一个文件夹中?
I am working on solution with 2 web-projects. There is a problem. After building the projects on the test server they should be placed in two different folders and sites IIS. I use TFS2010 to build it and I start buildind with MsBuild arguments:
/p:DeployOnBuild=True
/p:DeployTarget=MSDeployPublish
/p:CreatePackageOnPublish=True
/p:MSDeployPublishMethod=WMSVC
/p:MSDeployServiceUrl=https://dnx-test:8172/MsDeploy.axd
/p:DeployIisAppPath="AppPath"
/p:UserName=domain\username
/p:Password="password"
/p:Configuration=QA
/p:AllowUntrustedCertificate=True.
And there is only one project which gets into the right folder (drop folder that configured in build settings).
What should I do to place the second project in another folder?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您确定第二个项目可以一起编译吗?
首先查看日志并验证两个项目是否正确编译。
然后,如果它们都编译并创建它们的 DLL,我们需要检查它们之间的配置差异。
一旦您向我提供更多信息,我将能够更好地了解问题所在并为您提供帮助。如果您将 MSBuild 的日志发送给我,它会有所帮助:)
Oshry
Are you sure that the second project compiles all together?
First of all take a look at the log and verify both projects compile properly..
Then if they both compile and create their DLL's we need to check configuration differences between them.
Once you give me some more info I'll be able to get a better clue of what's the problem and help you. It could help if you send me the MSBuild's log :)
Oshry