- Install Nuget by downloading exe
http://docs.nuget.org/ndocs/create-packages/creating-a-package
-
setup Path or put it nuget.exe to sample folder with designated csproj file.
-
Creating .nuspec (nuspec file created with same name as project file)
nuget spec
-
then change nuspec file
-
make lib folder and add dll
-
add dependency
-
create nuget package file
nuget pack Package.nuspec
- test with local
In Visual Studio menu, select Tools -> Options
Choose Nuget Package Manager -> Package Sources
Click the green add button
Choose a name and a source path where to put the generated packages
Then hit OK
- then upload : https://www.nuget.org/packages/upload