Currently, the msbuild task by default uses the msbuild version
shipped with the 3.5 framework.
If we want to use another one, we have to specify the path_to_command
To simplify the use of other framework versions, I propose to use
predefined constants that would point to the default location of well
for 2.0sp1, its C:\WINDOWS\Microsoft.NET\Framework
for 3.5, it's C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild.Exe
and so on.
We could end up with something like:
t.path_to_command = '3.5'
or even add a new attribute:
t.framework = '3.5'
and the task would then known which msbuild version to lookup and use.
There would still be the possibility to set a custom location but it
would correspond to 99,9% of the use cases.
What do you think?