NuGet app.config / web.config Transformation Trouble

1 · Andrew Bancroft · June 16, 2014, 5:57 p.m.
I recently hit a road bump when developing a NuGet package. Mid-way through making the package, I decided I wanted to include couple of transforms to add some default connection strings to an app.config or a web.config file. Try as I may, I couldn’t get NuGet to apply the transforms to my project’s web.config file even though I was following NuGet documentation’s instructions to a tee. It turns out that my problem was related to about 3 things all working together in tandem to defeat me:...