如何发布多个云项目? [英] How to Publish multiple cloud projcts ?

查看:109
本文介绍了如何发布多个云项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

团队,

打包/发布Azure云项目时遇到问题.

基本上,我们已经在WWF中实施了一个每日构建框架,其中将构建所有解决方案/项目,并在droplocation中获取相关信息.

当我们将用于构建Azure解决方案的构建定义排队时,它正在构建并且我们将所有Dll放置在放置位置.这很好.但是,对于Azure项目,我们需要发布它们以获取.cspkg,.cscfg文件,将用于部署.

可以说,当我们发布云项目A.ccproj时,我们将在发布"目录中获取A.cspkg,ServiceConfiguration.cscfg文件.放置位置的文件夹.

但是这里,问题出在解决方案中有多个云项目时.

当我们构建这样的解决方案时,我们为每个项目都获得了.cspkg文件,但是仅获得了一个ServiceConfiguration.cscfg文件.问题是,每个tilme的serviceconfiguration.cscfg文件都被覆盖.

如何在不覆盖现有ServiceConfiguration文件的情况下获得每个项目的每个ServiceConfiguration.
我们可以在排队时传递任何MSBuildArguemets还是可以更改.ccproj文件中的任何属性以分别获取每个ServiceConfiguration文件?

非常感谢您的投入/帮助.

谢谢,
Sri

Hi Team,

I am facing an issue while packaging/publishing the Azure Cloud Projects.

Basically,We have implemented a daily build framwework (in WWF) in which all solutions/projects will be built and we get the bits in the droplocation.

When we queue a build definition for building an Azure solution,it is building and we are getting all the Dlls in the droplocation.This is fine.But,for Azure projects we need to publish them to get the .cspkg,.cscfg files which will be used for the deployment.

Lets say, when we publish a cloud project A.ccproj,we are getting A.cspkg,ServiceConfiguration.cscfg files in the "Publish" folder of the drop location.

But here,the problem comes with when there are multiple cloud projects in the solution.

When we are building such solution,we are getting the .cspkg file for each project,but we are getting only one ServiceConfiguration.cscfg file.The issue is,each tilme the serviceconfiguration.cscfg file is getting overridden.

How can I get each ServiceConfiguration per project without overriding the existing ServiceConfiguration file.?

Can we pass any MSBuildArguemets while queuing or Can we change any properties in the .ccproj file to get each ServiceConfiguration file separately?

Your inputs/help is really appreciated.

Thanks,
Sri

推荐答案

基本上您不能更改文件名. ServiceConfiguraton.cscfg类似于Windows应用程序的App.config文件.每次编译项目时,它将作为appname.exe.config创建.
Basically you can''t change the file name. ServiceConfiguraton.cscfg is like the App.config file for a Windows app. It will be created as appname.exe.config each time you compile the project.


这篇关于如何发布多个云项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆