Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 18837 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Both 'NuGet pack MyProject.csproj' and 'NuGet update MySolution.sln' fail on Mono 3.4.0 due to missing XBuild features.
Using NuGet 2.8.1 built from nuget.codeplex.com using build.sh.
Using Mono 3.4.0 (MonoFramework-MDK-220.127.116.11.macos10.xamarin.x86)
Main problem seems to be Microsoft.Build.Evaluation.Project which is not fully implemented.
The issues currently identified are:
2) Microsoft.Build.Evaluation.Project.AddItem (string itemType, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata)
Returns an empty string.
Example command lines used:
mono --debug ~/Projects/nuget-codeplex/src/CommandLine/bin/Release/NuGet.exe update -Verbosity detailed test.sln
mono --debug ~/Projects/nuget-codeplex/src/CommandLine/bin/Release/NuGet.exe pack test/test.csproj -verbosity detailed
*** This bug has been marked as a duplicate of bug 17430 ***
Re-opening this. Keep 'nuget pack' and 'nuget update' errors as separate bugs. Each command uses different parts of the MSBuild API so we can use these as parent bugs for the individual MSBuild API issues.