Azure - multiple sites in a post post build 1 role event

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 that will pack my second site.

Problem: What physical reference should be used 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> 

am using SDK1.3

+3
source share
1 answer

You need to specify a physical directory for each site specified in your csdef. Take a look at this link to see if it helps:

Deploy multiple sites on one Azure webpage

+1
source

Source: https://habr.com/ru/post/897696/


All Articles