I was listening to an episode of DNR featuring Chris Patterson who is behind MassTransit, an open source .net service bus. I’d recently been working a little with NServiceBus so I was interested to hear his take on the subject. One of the interesting things to come out of the interview was a quick mention of another of his projects, Automatonymous, which is a .net state machine that operates in a fluent interface.

I’ve been using this tool for some time on a number of projects. SlowCheetah allows you to transform your config files at build time based on the build type. So when you do a Debug build, you can include values that are meant for your dev environment, while at the same time doing a Release build will use values meant for production.

Well, a quick search online told me that this might be a result of a known bug in the compiler. The fix was easy, you have to compile your app in non-batch -mode. How do you do this, I hear you asking. Simple: enter the compilation section of your web.config, and set batch=”false”, as so:

Adding this to your registry will give you the ability to build/clean/rebuild projects using the right click in windows explorer. It uses .net 4.0 version of msbuild. Just paste this into a .reg file and run it.