天青 - 1作用的物理目录后生成事件多个站点 [英] Azure - multiple sites on 1 role physical directory post build event
问题描述
<一个href=\"http://connect.microsoft.com/VisualStudio/feedback/details/641913/visual-studio-azure-tools-sdk-1-3-not-packaging-multiple-sites-correctly\" rel=\"nofollow\">http://connect.microsoft.com/VisualStudio/feedback/details/641913/visual-studio-azure-tools-sdk-1-3-not-packaging-multiple-sites-correctly
我可以添加后生成事件,这将打包我的第二个网站。
I can add a post build event which will package up my 2nd website.
问题:哪些physicalDirectory我应该ServiceDefinition.csdef中使用
Problem: Which physicalDirectory should I use in ServiceDefinition.csdef?
<Sites>
<Site name="Web">
<Bindings>
<Binding name="HttpIn" endpointName="HttpIn" />
</Bindings>
</Site>
<Site name="WebMVCAdmin" physicalDirectory="f:\publishMVCAdmin">
<Bindings>
<Binding name="HttpIn" endpointName="HttpIn" hostHeader="pvadmin8.xxx.co.nz" />
</Bindings>
</Site>
现在用的SDK1.3
am using SDK1.3
推荐答案
您需要指定您已在csdef列出的每个网站的物理目录。这个链接看看,看看是否有帮助:
You need to specify the physical directory for each site you have listed in your csdef. Take a look at this link to see if it helps:
<一个href=\"http://stackoverflow.com/questions/3542518/can-you-deploy-multiple-webapps-on-one-windows-azure-instance/5157809#5157809\">Deploy在一个Azure的Web角色多个网站
这篇关于天青 - 1作用的物理目录后生成事件多个站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!