I have one web application and virtual application in Azure. They are separate projects in VS2010 and I have added them to one solution with one Azure deployment project.
I have created multiple web.configs to control parameters, ie web.debug.config etc.
When I publish to azure I specify debug which works for the main application but the virtual application is pointing to the web.config not the variants. How do I correct this please?
Many Thanks,
Steve.
Solution
The solution that worked for me from http://blog.hill-it.be/2011/03/07/no-web-config-transformation-in-local-azure/:
Workaround
There’s also a workaround, it will work for a local development, but not for continuous integration (or at least you will have to find another trick).
Go to your web-project –> right-click –> Publish… –> FTP –> Location = “c:\AnotherSite”
Press F5 and go to http://127.0.0.1:623
It should work.