This project is read-only.
1

Closed

ToolTask does not work in XBuild.

description

While I know mono's XBuild support is not a high priority, it sure would be nice if it worked. Currently there is a difference in XBuild and MSBuild (https://bugzilla.xamarin.com/show_bug.cgi?id=22981). Fortunately, I believe this could be easily fixed on the NuGet end.

http://nuget4msbuild.codeplex.com/SourceControl/latest#Trunk/src/NuGet.MSBuild.Tools/NuGetTask.cs

The GenerateFullPathToTool simple needs to execute the same code as NuGet.MSBuild.Tools.ResolveNuGetToolPath.Execute does.. I believe that the function should return the full file path (including file name) so it would need to return Path.Combine(path, NuGetTask.TOOL_NAME) rather than just path.
Closed Sep 18, 2014 at 3:15 AM by jeff_winn

comments

jeff_winn wrote Sep 18, 2014 at 3:14 AM

That sounds like an issue with XBuild not behaving properly more than an issue with the project. From that link you provided, they appear to have fixed the issue with their system.

As such, I don't believe it would be worthwhile to make a change to this project.

wrote Sep 18, 2014 at 3:15 AM