Azure multiple websites with one role, but some of them are not rebuilt when publishing

I have six websites and one web role. Now I notice that when I publish websites, everything except that part of the role is not rebuilt. Is there a way to run the MSBUILD command to create a website after the main website is created?

+1
source share
1 answer

I just found my answer :-)

This is because, by default, the Windows Azure project is not related to secondary websites, so the build process may decide to compile these projects after packaging is complete. You can change this by right-clicking the Windows Azure node project in the Visual Studios Solution Explorer, select Project Dependencies and tell it that it depends on all the projects that you need to include in the deployment package:

+5
source

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


All Articles