Convert a configuration file with Azure Worker roles

I just upgraded an Azure project to Visual Studio 2010 and took advantage of the new XML configuration conversion feature built into VS2010 web projects. It seems to work great with Azure web roles. I even managed to get the Azure project service configuration file to do a similar thing by following the instructions here .

However, I cannot get the configuration conversion to work as a lone worker in my Azure project. I know that VS2010 has built-in configuration conversion support with web roles, but I found a good article that describes how to get configuration conversions that work with non-web projects. I followed the instructions and it works - but only to the point. It successfully exposes the correct .config file (with appropriate conversions) in its own bin directory for the working role project, but it does not select this new .config file when it is placed in the cloud package.

I suspect that some MSBuild liars are required for its work, but I do not know MSBuild very well, so I turn to any guru for help and / or samples :)

+5
source share
1 answer

, - msbuild. msbuild , . . , Azure. , , VS, . msbuild, . VS ( ). github.

, " ".

+2

All Articles