洞察探索如何利用兼容微信生态的小程序容器,实现跨平台开发,助力金融和车联网行业的数字化转型。
859
2022-10-10
NAppUpdate 为.NET应用程序提供自动更新支持的简单框架(nappupdate类似)
NAppUpdate
An application auto-update framework for .NET
Contributions
Contributions are more than welcome.
How to contribute:
Create an issue explaining the problem you solvedCreate a pull request that links to this issueFollow the coding standard
Coding standard
Use tabs for indentationAlways end the document with a new lineAvoid 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:
NAppUpdate.UpdaterNAppUpdate.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://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://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
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~