Lazy resolving of msbuild ensures proper take in account of the set version field
Generic windows msbuild resolving, without the need for hardcoding the versions.
Also, most important: I've changed from a StopException to a normal GradleException. It doesn't make sense to mark the task as successful if it didn't find msbuild IMO. Or is there a specific reason for that?
Will get back soon (in another PR) with the unix/os x generic resolving of xbuild :)
version
fieldWill get back soon (in another PR) with the unix/os x generic resolving of xbuild :)