xamarin - NuGet Package Restore in MonoDevelop on OSX/Linux -
i'm trying compile visual studio project nuget package restore under monodevelop it's not working out of box.
nuget should work on mono , there's support built nuget.targets, missing?
based on issue tracked here: https://nuget.codeplex.com/workitem/3278
- you must use xbuild projects should restore packages on build. monodevelop->preferences->build
- unix filesystems case-sensitive. breaks nuget.targets casing inside file assumed lower case whereas files added solution in .nuget folder cased "nuget". either fixup nuget.targets or change filenames in solutions .nuget folder lower case.
- requirerestoreconsent true default in nuget.targets. edit nuget.targets , change false.
- package restore puts package folder in weird location,
$(solutiondir)/ /packages
(yes, theres single whitespace folder in between). reason there's trailing whitespace in nuget.targets in after$(solutiondir)
in<restorecommand>$(nugetcommand) install "$(packagesconfig)" -source "$(packagesources)" $(requireconsentswitch) -solutiondir "$(solutiondir) "</restorecommand>
Comments
Post a Comment