Bug 17007 - System.NotImplementedException when creating nuget package on mac OS X
Summary: System.NotImplementedException when creating nuget package on mac OS X
Status: RESOLVED DUPLICATE of bug 17430
Alias: None
Product: Class Libraries
Classification: Mono
Component: Ms.Build ()
Version: 3.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-12-31 19:23 UTC by john.lon.bickel
Modified: 2015-10-21 18:10 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 17430

Description john.lon.bickel 2013-12-31 19:23:06 UTC
Hi, first, I am not exactly sure what product or component the error comes from, but my best guess is Class lib/MsBuild.

I get an error while creating a nuget package on Mac Os X (10.7.5) (latest).
I'm trying to pack a single assembly.

I'm using NuGet Version: 2.7.41115.310 (latest as of this writing)

The nuget update and spec command work fine and as expected.

The pack command, though, always give the same error 
whether I proceed from the project or the compiled assembly 
and whether is built in Debug or Release.

Here is the command and its output:

$ mono --runtime=v4.0 /Users/<user>/NuGet.exe pack MyProject.csproj -Verbosity detailed

Attempting to build package from 'MyProject.csproj'.
System.NotImplementedException: The requested feature is not implemented.
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, IDictionary`2 globalProperties, System.String toolsVersion) [0x00000] in <filename unknown>:0 
  at NuGet.Commands.ProjectFactory..ctor (System.String path, IDictionary`2 projectProperties) [0x00000] in <filename unknown>:0 
  at NuGet.Commands.PackCommand.BuildFromProjectFile (System.String path) [0x00000] in <filename unknown>:0 
  at NuGet.Commands.PackCommand.BuildPackage (System.String path) [0x00000] in <filename unknown>:0 
  at NuGet.Commands.PackCommand.ExecuteCommand () [0x00000] in <filename unknown>:0 
  at NuGet.Commands.Command.Execute () [0x00000] in <filename unknown>:0 
  at NuGet.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0


Thank you.
Comment 1 Mikayla Hutchinson [MSFT] 2014-01-01 21:27:33 UTC
This was already fixed - https://github.com/mono/mono/commit/6c2776884f559dae606b128877fd0bafbcb3e5e3
Comment 2 john.lon.bickel 2014-01-01 21:49:47 UTC
Thank you. 

In what version of the framework will it be release (i currently run the latest as downloaded yesterday)

$ mono --version
Mono JIT compiler version 3.2.5 ((no/964e8f0 Thu Nov 14 14:48:50 EST 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.3svn-mono)
	GC:            sgen
Comment 3 Mikayla Hutchinson [MSFT] 2014-01-01 22:30:13 UTC
It doesn't seem to be in the 3.2.6 branch, so probably 3.2.7.
Comment 4 john.lon.bickel 2014-01-01 22:59:50 UTC
Ok thanks
Comment 5 Mikayla Hutchinson [MSFT] 2014-04-07 14:13:26 UTC

*** This bug has been marked as a duplicate of bug 17430 ***