Skip to content

synhershko/NAppUpdate

 
 

Repository files navigation

NAppUpdate

NuGet version

An application auto-update framework for .NET

Contributions

Contributions are more than welcome.

How to contribute:

  1. Create an issue explaining the problem you solved
  2. Create a pull request that links to this issue
  3. Follow the coding standard

Coding standard

  1. Use tabs for indentation
  2. Always end the document with a new line
  3. Avoid commiting lines that are irrelevant for the change (e.g. random white space changes)

An .editorconfig file is available in the project, which makes it easy to follow the coding standard by installing the EditorConfig and Format document on Save extensions in Visual Studio.

How to pack NuGet

NAppUpdate is published in a NuGet package containing libraries for two target frameworks, .NET 3.5 and 4.0.

Build the following projects under configurations Release 3.5 and Release 4.0:

  1. NAppUpdate.Updater
  2. NAppUpdate.Framework

NOTE: It's important to rebuild the Updater for each configuration before building the Framework, so that the correct .NET framework version is referenced by the embedded executable.

Run the following command in the NAppUpdate.Framework directory:

nuget pack .\NAppUpdate.Framework.csproj -Prop Configuration="Release 3.5"

NOTE: It doesn't matter if you specify "Release 3.5" or "Release 4.0" when creating the package. A warning will be generated saying that the package already contains the file, this is expected.

Other notes

User and developer discussion group is at http://groups.google.com/group/nappupdate

Docs and about the philosophy behind NAppUpdate: http://www.code972.com/blog/2012/06/the-philosophy-behind-nappupdate/

This project is partially based on work done by Lee Treveil, in http://github.com/leetreveil/.NET-Auto-Update.

This software is licensed under the Apache License, Version 2.0 (the "License"); you may not use the files in this distribution except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright (c) 2010-2015 Itamar Syn-Hershko

About

A simple framework for providing auto-update support to .NET applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%