How do I run app.config transformation task first before the PostBuildEvents?
问题 I have a console application that uses a database connection string which is defined in app.config. I have a few transformations to change the string depending on the build configuration. I also have a few post-build events that copy app.config to other projects output. The problem is post-build event fires first and I copy the untransformed app.config. Later the transformation task kicks in and apply the transformation (so I know it works). I use with Visual Studio 2010 and .NET 4. Right now