Reputation: 553
I am attempting to package a project with Mono (4.2.1) & NuGet (2.8.5.0). The complete verbose output of the nuget pack Project.csproj
is
Attempting to build package from 'Project.csproj'.
The method or operation is not implemented.
Upvotes: 6
Views: 820
Reputation: 15286
This is now fixed in nuget and more information can be found in this ticket: https://github.com/NuGet/Home/issues/1946
Run the following to update nuget and it will work
Mac
sudo nuget update -self
Windows
nuget.exe update -self
Upvotes: 4
Reputation: 47937
nuget pack project.csproj
is not currently supported on Mono. Please refer to the appropriate Bugzilla entry.
Using the project file (.csproj) to generate the NuGet package uses parts of MSBuild that are not implemented in Mono. Instead you will need to create a .nuspec file and use nuget pack YourNuspec.nuspec
to generate a NuGet package with Mono.
Upvotes: 12