It automatically syncs the current system time to any given endpoint.
-
Update MyApp Version - update the application version.
Properties\AssemblyInfo.cs
[assembly: AssemblyVersion("1.0.1")] [assembly: AssemblyFileVersion("1.0.1")]
-
Switch to Release - switch your build configuration to
Release
. -
Build MyApp - build your application to ensure the latest changes are included in the package we will be creating.
Using NuGet Package Explorer complete the following:
- Open Previous NuGet Package - open the previous NuGet package you created for MyApp version 1.0.0.
- Update Version - update the version in the metadata.
- Replace Release Files - replace the changed files under
lib\net45
. You can simply drag and drop any program specific files that have changed (i.e., theMyApp.exe
file is the only one that has updated in the example). - Save the NuGet Package File as New Version - use the "Save As..." feature to save the new version of the package
MyApp.1.0.1.nupkg
.
Use the Package Manager Console to execute Squirrel.exe --releasify
command using the new MyApp.1.0.1.nupkg
package.
PM> Squirrel --releasify TimeSyncService.1.0.2.nupkg --setupIcon "C:\Users\Yannick Hilber\git\TimeSyncService\TimeSyncService\Resources\icon.ico"
Create a new GitHub Release