I've bene doing well with .NET config transforms. I have them in place now on a class library for data usage and a WPF app.
However, when I attempt to set them up with an ASP.NET WebAPI project, something strange seems to happen.
The config file never shows up in my bin directory, and so the web.config always shows as the pre-formed config file.
If I run MSbuild with parameters of "/t:TransformWebConfig /pConfiguration=Test" on the csproj, I see the following:
CollectWebConfigsToTransform: Found The following for Config tranformation: Areas\HelpPage\Views\Web.config, Web.config, Views\Web.config, bin\Web.config PreTransformWebConfig: Skip copying Web.config to obj\Test\TransformWebConfig\original\Web.config, File obj\Test\TransformWebConfig\original\Web.config is up to date Skip copying C:\Users\killesj1\Repositories\MRP Trunk\Macro Projects\VEUploader\src\app\VEUploader.WebAPI\Web.config to obj\Test\TransformWebConfig\original\bin\Web.config, File obj\Test\TransformWebConfig\original\bin\Web. config is up to date TransformWebConfigCore: Skipping target "TransformWebConfigCore" because all output files are up-to-date with respect to the input files. TransformWebConfigCore: Skipping target "TransformWebConfigCore" because all output files are up-to-date with respect to the input files. PostTransformWebConfig: Transformed Web.config using Web.Test.config into obj\Test\TransformWebConfig\transformed\Web.config. Transformed C:\Users\killesj1\Repositories\MRP Trunk\Macro Projects\VEUploader\src\app\VEUploader.WebAPI\Web.config using C:\Users\killesj1\Repositories\MRP Trunk\Macro Projects\VEUploader\src\app\VEUploader.WebAPI\Web.Test .config into obj\Test\TransformWebConfig\transformed\bin\Web.config.
It appears that the transformation is tranforming the file, but somehow it's not making its way back into the bin directory, where the old Web.config remains.
Is this normal? How might I get this to behave similarly to other web transforms?