如何获得的Web部署Web角色.publishsettings? [英] How to get .publishsettings for Web Deployable Web Role?
问题描述
我启用了Web部署功能为我的Web角色并部署它。
但我怎么能得到.publishsettings握住文件,以便我能创造一个出版个人资料呢?
I enabled the Web Deploy feature for my Web Role and deployed it. But how can I get hold of the .publishsettings file so I can create a Publishing Profile for it?
<一个href=\"http://blogs.msdn.com/b/cloud/archive/2011/04/19/enabling-web-deploy-for-windows-azure-web-roles-with-visual-studio.aspx\"相对=nofollow>这个2岁的文章指出,它应该已经自动创建的,但我没有得到,在我的文件管理器。结果
任何想法?
This 2 year old article states that it should have been created automatically, but I haven't got that in my profile manager.
Any ideas?
推荐答案
那么,问题是真正的键盘后面。
Well, the problem was really behind the keyboard.
因此,发布配置文件实际上是正确而自动设置到Web项目的文档状态。
So the publishing profile is actually provisioned correctly and automatically to the Web project as the documentation states.
问题和困惑是,我有我的解决方案的辅助Web应用程序,我也发布到相同的Web角色(作为一个额外的网站
在<$引用C $ C> ServiceDefinition.csdef中文件)。
这Web项目没有得到出版个人资料,当我尝试手动创建一个配置文件,因为这(次)IIS实例未配置为Web部署它不工作。
The problem and confusion was that I have a secondary web application in my Solution that I also publish to the same Web Role (referenced as an additional Site
in the ServiceDefinition.csdef
file).
That Web Project does not get the Publishing Profile, and when I try to create a profile manually, it doesn't work since that (secondary) IIs instance is not configured for Web Deployment.
哦,回到了繁琐的云服务部署是...
Oh well, back to the tedious Cloud Service deployment it is...
这篇关于如何获得的Web部署Web角色.publishsettings?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!