When building ShareCoffee, I recognized that building NuGet packages doesn’t work on mac or linux. Today I’d the chance to look again into this issue.

I’ve used grunt-nuget for building the NuGet packages for ShareCoffee from within my GruntJS tasks.

Responsible for the fact that I wasn’t able to create the NuGet packages on MacOS or Linux was the .nuspec file. In order to build NuGet packages on non windows systems, you’ve to use unix paths instead of windows paths.

Most other grunt-tasks are modifying all the paths depending on your environment.

So you’ve to provide the path in the following form for files. xml <files> <file src="readme.txt" target="" /> <file src="dist/**.*" target="content/Scripts/ShareCoffee" /> </files>