Closed cwarren-mw closed 9 years ago
It looks like the error pops up on "def xml = new XmlSlurper().parse(file)" -- I think the code doesn't realize that "C:\Program Files (x86)\MSBuild\12.0\Bin\amd64" is a directory and not a file. When I changed the ToolsVersion to 4.0, the files that get parsed are all csproj or targets or props files.
Maybe you mean that there is no way to pass parameter VisualStudioVersion=12.0 to MSBuild. I did not find other way to specify which version of Visual Studio to use.
latest version has been changed to no longer attempt a hand-made parsing of the csproj but relies on mono project file parser instead, masybe you can give it a try ?
(version 2.1)
When the Project tag has ToolsVersion="12.0", I'm getting the "Could not determine the dependencies of task" error, with this down in the stack trace:
Caused by: java.io.FileNotFoundException: C:\Program Files (x86)\MSBuild\12.0\Bin\amd64 (Access is denied)
Switching ToolsVersion to 4.0 fixes the problem, but we'll eventually want to use MSBuild version 12.0. Has there been any investigation of this issue yet? It seems like it might be as easy as adding one number to the list of possible tools versions, but things are rarely as easy as they seem.
Thanks.