- Create a blank Visual Studio Project
- Create a folder in the solution that contains the dll's that you want to be part of your package.
- For each of the included dll's, right click > 'Properties' > set the 'Copy to Output Directory' value to 'Copy Always'.
- In Package Manager Console type:
- Install-Package OctoPack
- Right Click on the project in Solution Explorer > 'Unload Project'
- Edit the project file.
- Find the 'Release' configuration PropertyGroup
- Add the node:
- <RunOctoPack>true</RunOctoPack>
- Reload the project and compile in 'Release' mode
- The *.nupkg file should now be in the 'Release' folder.
Tuesday, 23 June 2015
Creating NuGet Packages with Octopack
Subscribe to:
Posts (Atom)