nunit/nunit-framework — pull request #107 by simoneb (2014-02-27 12:29:16+00:00)
Title: MSBuild: batching multiple frameworks

I intended to continue working on the previous pull request but since it was closed here's another one (I'm not sure it really makes sense to keep a pull request open once it's been merged btw).

One of the missing features from the switch to MSBuild was the ability to build for multiple frameworks at once. I initially thought that this could be achieved with shell scripting but it's actually more straightforward.

Alongside some other minor changes (underscore-prefixed internal targets and cosmetics) I added a couple of new tasks which invoke the script itself via the MSBuild task multiple times using an `ItemGroup`, a feature of MSBuild which enables batching.

I still have to figure out how to build for the compact framework, right now specifying that as the framework has basically no effect because we are not doing anything special with those properties, besides using the correct project files, but we don't have project files for CF so we either need to create specific ones, like we did for Silverlight, or we need to pass additional properties to MSBuild. [This](http://msdn.microsoft.com/en-us/library/bb629394.aspx) MSDN page mentions a `TargetCompactFramework` property but I still have to figure out what it does.