Windows Azure Tools for Microsoft Visual Studio: Using app.config in the July 2009 CTP

July 2009 CTP of the Windows Azure Tools for Microsoft Visual Studio, a bug introduced, where if you use the App.Config file in a Worker Role, it won’t get included in your Service Package both when running on the local Development Fabric or in the Cloud. To resolve this issue, simply add the following environment variable […]

July 2009 CTP of the Windows Azure Tools for Microsoft Visual Studio, a bug introduced, where if you use the App.Config file in a Worker Role, it won’t get included in your Service Package both when running on the local Development Fabric or in the Cloud. To resolve this issue, simply add the following environment variable before starting Visual Studio: AddAppConfigToBuildOutputs=true This will be fixed in our next release, in fact it’s fixed in our daily builds already. In order to support TFS Build, we changed how files are copied to the package for the Worker Role. As part of the changes, we missed calling one of the targets with a property set to handle the App Config.