Skip to content

Zekdar/NugetPackagerAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NugetPackagerAssistant

This tool will assist you when packaging your code into NuGet modules (nupkg). If you have a team repository for instance, this tool could help you packaging your shared dlls, whether you have the source code (csproj) or only the dlls.

Prerequisites

  • You will need to download nuget.exe v3.5.0 (official NuGet website). Unzip it where you wish to.
  • Have .NET 4.5.2 installed
  • Open the App.config file (located under NugetPackagerAssistant) and set these 3 variables
  • nugetDirectory : folder containing your previously unzipped nuget.exe - (ex : C:\Programs\Nuget)
  • outputDirectory : folder that will contain the all of the nupkg that will be generated
  • publishDirectory : the shared folder that contains all of your NuGet packages. This is basically your team repository (it could be on a NAS for instance).

Executing the tool

  • After building the project, you can directly run the NugetPackagerAssistant.exe generated file but don't forget to set the options (see the Prerequisites section)
  • You can call the NugetPackagerAssistant.exe with arguments instead of configuring the App.config. If you do, you must provide exactly 3 arguments in that specific order : nugetDirectory outputDirectory publishDirectory

There are currently 2 modes when it comes to create a Nuget package

A - Csproj Mode (you have the source code)

  • When promped, press "A" then paste your csproj path pathTo/your/csproj/project.csproj
  • Finally, choose whether or not you'd like to publish the generated nupkg

B - Dll Mode (you only have dlls)

  • When promped, press "B" then paste the uri of a folder containing the dlls you'd wish to NuGet pathTo/your/dlls
  • Finally, choose whether or not you'd like to publish the generated nupkg

Contributing

If you'd like to add a new feature or to report a bug, please create an issue. Feel free to suggest a pull request too :)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages