从WinForms应用程序中删除的ClickOnce

从WinForms应用程序中删除的ClickOnce

本文介绍了从WinForms应用程序中删除的ClickOnce的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有打算使用的ClickOnce WinForms应用程序。但事实证明的ClickOnce不会为我的应用程序工作,所以我想将其删除。只是......似乎没有成为一个明显的方式来做到这一点。有没有非的ClickOnce按钮。有谁知道我需要让我的应用程序像从前那样的ClickOnce集成本身有什么步骤?

I have a WinForms application that was going to use ClickOnce. But it turns out ClickOnce won't work for my application, so I'd like to remove it. Only...there doesn't seem to be an obvious way to do this. There's no "Un-ClickOnce" button. Does anybody know what steps I need to take to get my app to be like it was before ClickOnce integrated itself?

(我知道我可以创建一个新的项目,进口的东西进去,但它似乎愚蠢不得不这样做,所以我希望有另一种方式。)

(I know I can create a new project and import stuff into it, but it seems silly to have to do that, so I'm hoping there's another way.)

推荐答案

其他答复这里是不正确的或有帮助。这是不正确的指出,它永远不需要删除。

Other responses here are not correct or helpful. It is incorrect to state that it never needs removing.

这样的一个例子,我经历了最近是当应用程序有一个需要管理权限。任何试图嵌入管理要求纳入清单会导致应用程序甚至没有编制,而ClickOnce是仍然present的解决方案。

One such example I experienced recently was when the application had a need for administrative privileges. Any attempt to embed administrative requirements into the manifest will result in the application not even compiling while ClickOnce is still present in the solution.

下面的两个步骤,使我能够关闭的ClickOnce(在Visual Studio 2010):

The following two steps enabled me to turn off ClickOnce (in Visual Studio 2010):

在项目属性,

  1. 登录的标签:取消选中签署的ClickOnce清单
  2. 安全的标签:取消选中启用的ClickOnce安全设置
  1. Signing tab: Untick "Sign the ClickOnce manifests"
  2. Security tab: Untick "Enable ClickOnce security settings"

这篇关于从WinForms应用程序中删除的ClickOnce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-28 00:01