Latest clickonce release (uninstall first if previous version is 3.9 or lower)
NuGet Package Explorer is a ClickOnce & Chocolatey application that makes it easy to create and explore NuGet packages. After installing it, you can double click on a .nupkg file to view the package content, or you can load packages directly from nuget feeds like nuget.org.
To build packages from the command line, use the NuGet command-line tools, which are documented on the official NuGet site.
How to install
You could install with ClickOnce or Chocolatey. The latter is preferred as the Clickonce (well Codeplex) is unstable
Install on Chocolatey
- Run Powershell (as Admin)
- Install Chocolatey:
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
- Install NPE:
choco install nugetpackageexplorer
Current development state / looking for developers
Currently NPE isn't activly developed, but we do accept (not too large) pull requests (PR).
If you like to help, please check the Github issues. If you like to contribute more structurally, we would be happy to add you to our team!
Creating a Package
Launch Package Explorer and select File > New (Ctrl-N), or select Create a new package from the Common tasks dialog when Package Explorer starts:
Select Edit > Edit Package Metadata (Ctrl-K) to open the editor for the underlying .nuspec file. Details for the metadata can be found in the nuspec reference.
Open the files you want to include in the package in Windows explorer, then drag them into the Package contents pane of Package Explorer. Package Explorer will attempt to infer where the content belongs and prompt you to place it in the correct directory within the package. (You can also explicitly add specific folders using the Content menu.)
For example, if you drag an assembly into the Package contents window, it will prompt you to place the assembly in the lib folder:
Save your package with File > Save (Ctrl-S).
Publishing a Package
Create a free account on nuget.org, or log in if you already have one. When creating a new account, you'll receive a confirmation email. You must confirm the account before you can upload a package.
Once logged in, click your user name (on the upper right) to navigate to your account settings.
Under API Key, click copy to clipboard to retrieve the access key you'll need in the next step:
Assuming your package is loaded in Package Explorer, select File > Publish (Ctrl+P) to bring up the Publish Package dialog:
Paste your API key intp Publish key and click Publish to push the package to nuget.org.
In your profile on nuget.org, click Manage my packages to see the one that you just published; you'll also receive a confirmation email. Note that it might take a while for your package to be indexed and appear in search results, during which time you'll see a message that the package hasn't yet been indexed.
Requirments to build the project:
- Windows 10 SDK