In this post i am going to explain how to create Nuget Package using Nuget package explorer Gui tool. before we start you need a Nuget Package explorer tool.you can download it from here Nuget Package Explorer V2.2 and install it. it take few seconds to install.
Ok, now we ready to start.
Step 1:-Create New Package.Step 2:-Edit Package Metadata.
you can write additional information about in package in package metadata like authors,owners,descriptions,icon,descriptions,language and so on.
you can add different type of content related to your package using Nuget package explorer.
Step 3:Add content and code library to your nuget package.
add content folder to your package,you can add your package settings file(Web.config ,App.config) or other help file in this folder. we are going to add web config file to this folder.
Step 4: Create web config Transform file.create sample file add your config code to file and save that file with .transform extension(ex. web.config.transform) so visual studio inject your config code to particular section.
Step:5add Library folder and your code library to your nuget package (for test i add JsonDotNet 2.0 library to package) and save your package.
after saving your package last step to test your package. you can upload it to nuget site ot you can test it locally from hard disk. i am going to test it from local disk. for that you have to configure package manager settings to Visual studio. for configuration Go through Tools -> Library Package Manager -> Package Manager Settings.
Remove checked from all web package url and Add new path from local disk nad select it. and install it using Package Manager Console write this command for install your package install-package MyPackage.and that's it.