简体   繁体   English

在Visual Studio中取消应用程序后如何更新应用程序

[英]How do i update an application after pusblishing it in visual studio

我发布了一个应用程序,发布时我检查了该应用程序应检查更新-现在如何使它真正检查更新-我应该在哪里放置新文件以及采用哪种格式?

You'll need it on some kind of Web server. 您需要在某种类型的Web服务器上使用它。

I would imigine that you also want some authentication so that only the application it self can gain access to the new version of the software. 我想您还需要一些身份验证,以便只有它自己的应用程序才能访问该软件的新版本。

I'm going to assume you mean you are using CLickOnce as the installer. 我将假设您的意思是您正在使用CLickOnce作为安装程序。 If you want the app to check for updates every time it is ran you need to publish to a location all the apps can see. 如果您希望应用程序每次运行都检查更新,则需要将其发布到所有应用程序都可以看到的位置。 If this is an internal app I believe a network share will do. 如果这是一个内部应用程序,我相信可以实现网络共享。 If not then you need to publish to a web server or ftp server. 如果不是,则需要发布到Web服务器或ftp服务器。

You can use ClickOnce as nportelli mentioned above, or you can use a 3rd party utility to do the heavy lifting for you. 您可以将ClickOnce用作上述nportelli,也可以使用3rd party实用程序来完成繁重的工作。

I wrote an open-source library to do just that transparently - including an external update application to do the actual cold update. 我写了一个开放源代码库来透明地做到这一点-包括一个外部更新应用程序来进行实际的冷更新。 See http://www.code972.com/blog/2010/08/nappupdate-application-auto-update-framework-for-dotnet/ 参见http://www.code972.com/blog/2010/08/nappupdate-application-auto-update-framework-for-dotnet/

The code is at http://github.com/synhershko/NAppUpdate (Licensed under the Apache 2.0 license) 该代码位于http://github.com/synhershko/NAppUpdate (在Apache 2.0许可下获得许可)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用ClickOnce自动更新Visual Studio应用程序? - How do I update my Visual Studio application automatically using ClickOnce? 如何在 Visual Studio 中更新/覆盖自定义工具箱项? - How do I update/overwrite a custom toolbox item in Visual Studio? 如何从 Visual Studio 中的 GridView 更新 Access 数据库? - How do I update an an Access database from a GridView in Visual Studio? 如何在 Mac 上的 Visual Studio 中编译 C# 应用程序? - How do I compile a C# application on a Mac in Visual Studio? 如何将控制台应用程序中的变量值传递给 C# 中的 windows 表单应用程序(Visual Studio) - How do i pass a variable value from Console application to windows form application in C# (visual studio) 如何让应用程序暂停和更新 Visual Studio 中的条形图? - How can I get the application to pause and update a bar chart in Visual Studio? 初始化 C# Visual Studio Windows 窗体应用程序后,如何更改窗体的视觉效果? - How do I change the visual of a form after it has Initialized C# Visual Studio Windows Form App? C#Visual Studio:如何使用LINQ使用DataGridView从Edit更新数据库? - C# Visual Studio: How do I update a DB from Edit with DataGridView using LINQ? 如何在未安装 Nuget 或 Visual Studio 的 Web 服务器上安装、更新、注册 Nuget package? - How do I Install, Update, Register a Nuget package on the Web Server that does not have Nuget or Visual Studio installed? 如何在NuGet发布后更新Visual Studio Team Services上的NuGet包? - How can I update a NuGet package on Visual Studio Team Services after NuGet Publish?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM