- Get the NuGet.exe command line here. Put it in the
%path%or somewhere. - Create a directory for your package - I created mine on the network share directly
- on the command line in your new folder
nuget.exe spec - Depends on your nuget.exe being in the
%path% - edit any fields in the new
Package.nuspecfile. - If you have assemblies
- Add a lib folder
- Add assemblies inside
- If you have other content
- Add a content folder
- Add files inside
- If you have transforms
- Add
filename.transforminside the content folder - For example
web.config.transform nuget.exe pack package.nuspec
Now add that location in your Vs2010 Tools->LibraryPackageManager->PackageManagerSettings
In Package sources add the source, and name it. TADA!
No comments:
Post a Comment