部署Azure的服务项目只是一个角色 [英] Deploy just one role in Azure service project

查看:117
本文介绍了部署Azure的服务项目只是一个角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起,我刚刚开始接触天青,希望下面的问题是有道理的。

Sorry I'm just starting out with Azure, hopefully the following question makes sense.

我有3角色的Azure项目。我现在需要部署其中的一个,但其他两个角色远未准备好,我有没有用在此刻的部署它们(这也会让我付出3个实例吧?)

I have an Azure project with 3 roles. I'd need to deploy one of them right now, but the other 2 roles are far from being ready and I'd have no use in deploying them at the moment (and that would also make me pay for 3 instances, right?)

请问Visual Studio的让我刚刚部署我感兴趣的角色?

Would Visual Studio let me deploy just the role I'm interested in?

如果没有,有没有一种方法来去除temporarely其他角色,而不会丢失它们的设置?

If not, is there a way to temporarely remove the other roles without losing their settings?

(谢谢你的答案理查德,我希望我可以 - 例如 - 只是注释掉ServiceDefinition / ServiceConfiguration部分文件告诉VS不包额外的角色。)

(Thank you for your answer Richard, I was hoping I could — for example — just comment out parts of the ServiceDefinition / ServiceConfiguration files to tell VS not to package the extra roles.)

推荐答案

只要删除您不希望从您的云计算项目的角色文件夹中部署的项目,他们应该被忽略。

Just delete the projects you don't want to deploy from the 'roles' folder of your Cloud project, and they should be ignored.

您可以轻松地添加他们回来的时候,你就可以使用它们。

You can easily add them back in when you're ready to use them.

这篇关于部署Azure的服务项目只是一个角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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