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

  1. you must use xbuild projects should restore packages on build. monodevelop->preferences->build enable xbuild in monodevelop or xamarin studio
  2. 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.
  3. requirerestoreconsent true default in nuget.targets. edit nuget.targets , change false.
  4. 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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -