Reputation: 35751
I'm trying to compile a Visual Studio project with NuGet package restore under MonoDevelop but it's not working out of the box.
NuGet should work on Mono and there's even support built into nuget.targets, so what is missing?
Upvotes: 9
Views: 3830
Reputation: 35751
Based on issue tracked here: https://nuget.codeplex.com/workitem/3278
$(SolutionDir)/ /packages
(yes, theres a single whitespace folder in between). The reason is that there's a trailing whitespace in nuget.targets in after $(SolutionDir)
in <RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -solutionDir "$(SolutionDir) "</RestoreCommand>
Upvotes: 12