This is when I run it:
1. I just have to create a new package (Ctrl+N).
2. Then Edit Metadata:
Edit Metadata - update package metadata for MyApp.
- Id - name of the application (no spaces)
- Version - version specified in
Properties\Assembly.cs
- Dependencies - Squirrel expects no dependencies in the package (all files should be explicitly added to the package)
3. Add lib & net45 - add the lib folder and the net45 folder to the project. Squirrel is expecting a single lib / net45 directory provided regardless of whether your app is a net45 application.
4. Add Release Files - add all the files from Release needed by the app to execute (including the various files required by Squirrel).
Include MyApp Files: MyApp.exe, MyApp.exe.config, any non-standard .NET dll's needed by MyApp.exe.This is the picture from the guide:
Include Squirrel Files: Squirrel.dll, Splat.dll, NuGet.Squirrel.dll, Mono.Cecil.*, DeltaCompressonDotNet.*, ICSharpCode.SharpZipLib.*
Exclude: .vshost.\, *.pdb files
5. Save the NuGet Package File - save the NuGet package file to where you can easily access later (e.g., MyApp.sln directory). Follow the given naming format (e.g., MyApp.1.0.0.nupkg).
Done creating nuget package for my app.
No comments:
Post a Comment