I keep getting this error when I try to publish my app to windows Azure using Web Deploy:
Error 1 Expected "$(TransformWebConfigEnabled)" to evaluate to a boolean instead of "0", in condition "@(WebConfigsToTransform)!='' And $(TransformWebConfigEnabled) And !$(UseParameterizeToTransformWebConfig)"
I am trying to add the following elements to my .csproj file settings (in the PropertyGroup
element) so that I don't get the parameterized web.config file:
<TransformWebConfigEnabled>False</TransformWebConfigEnabled>
<AutoParameterizationWebConfigConnectionStrings>
False
</AutoParameterizationWebConfigConnectionStrings>
When I add these elements to the project file, I get the blue line under the TransformWebConfigEnabled
element as if something is wrong and Visual Studio states that its an invalid child element for the PropertyGroup
element. Now, even when I remove these elements from the project file, it still gives me the error message above.
Any ideas what's going on here?