Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
33 lines (21 loc) · 1 KB

File metadata and controls

33 lines (21 loc) · 1 KB
Copy raw file
Download raw file
Edit and raw actions
docs / using / octopack.md

Using OctoPack

In order to automatically construct your nuget packages you can use OctoPack. Octopack allows you to specify a .nuspec file which will be used to specify how your .nupkg should be created.

Follow the core instructions for creating your .nuspec file on the OctoPack page.

You'll then need to add a files specification to match Squirrel's expected .nupkg structure:

  <files>
    <file src="bin\Release\*.*" target="lib\net45\" exclude="bin\release\*.pdb;bin\release\*.nupkg;bin\release\*.vshost.*"/>
  </files>

If you're building using Visual Studio, you will also need to edit your .csproj file to include a property group.

  <PropertyGroup>
    <RunOctoPack>true</RunOctoPack>
  </PropertyGroup>

If you're using a build server, see OctoPack's guides on how to trigger it to be run.


Return: Packaging Tools
Morty Proxy This is a proxified and sanitized view of the page, visit original site.