TFS2010部署解决方案二Web项目

发布于 2024-10-18 16:53:01 字数 528 浏览 9 评论 0原文

我正在研究 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谜兔 2024-10-25 16:53:01

您确定第二个项目可以一起编译吗?
首先查看日志并验证两个项目是否正确编译。
然后,如果它们都编译并创建它们的 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文