clickonce发布错误 [英] clickonce publish error

查看:67
本文介绍了clickonce发布错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







我使用clickonce发布在

c#中开发的Windows窗体应用程序.NET,VS2010。



但是,我收到了错误,



无法继续。应用程序格式不正确。请联系应用程序供应商以获取帮助。在安装过程中。



详情按钮给出错误详情如下



------------------------------------------------ -----------

平台版本信息

Windows:5.1.2600.196608(Win32NT)

公共语言运行时: 4.0.30319.269

System.Deployment.dll:4.0.30319.1(RTMRel.030319-0100)

clr.dll:4.0.30319.269(RTMGDR.030319-2600)

dfdll.dll:4.0.30319.1(RTMRel.030319-0100)

dfshim.dll:4.0.31106.0(Main.031106-0000)



来源

部署网址:file:/// C:/Inetpub/wwwroot/WindowsFormsApplication4/WindowsFormsApplication4.application



错误摘要

以下是错误摘要,这些错误的详细信息将在后面的日志中列出。

*激活文件:/// C :/的Inetpub / wwwroot文件/ WindowsFormsApplication4 / WindowsFormsApplic ation4.application导致例外。检测到以下失败消息:

+您的Web浏览器设置不允许您运行未签名的应用程序。



组件商店交易失败摘要

未检测到交易错误。



警告

此操作期间没有警告。



运营进度状态

* [10/9/2012 4:09:45 PM]:激活文件:/// C:/ Inetpub / wwwroot / WindowsFormsApplication4 / WindowsFormsApplication4.application已经开始。



错误详情

在此操作过程中检测到以下错误。

* [10/9/2012 4:09:45 PM] System.Deployment.Application.InvalidDeploymentException(Manifest)

- 您的Web浏览器设置不允许您运行未签名的应用程序。 />
- 来源:System.Deployment

- 堆栈跟踪:

在System.Deployment.Application.ApplicationActivator.BrowserSettings.Validate(Stri)在system.Deployment.Application.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri,Boolean isShortcut,String textualSubId,String deploymentProviderUrlFromExtension,BrowserSettings browserSettings,String&errorPageUrl)中的$ manifest $

.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(对象状态)



组件商店交易详情

没有交易信息。







---------------------- -------------------------------------------------- ----------



我用它做的错误是什么?...请帮助......



先谢谢..




I am using clickonce to publish a windows forms application developed in
c#.NET,VS2010.

But,i am getting the error,

"Cannot continue. The application is improperly formatted. Contact the application vendor for assistance." during installation.

The details button give the error details as below

-----------------------------------------------------------
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 4.0.30319.269
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.269 (RTMGDR.030319-2600)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)

SOURCES
Deployment url : file:///C:/Inetpub/wwwroot/WindowsFormsApplication4/WindowsFormsApplication4.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of file:///C:/Inetpub/wwwroot/WindowsFormsApplication4/WindowsFormsApplication4.application resulted in exception. Following failure messages were detected:
+ Your Web browser settings do not allow you to run unsigned applications.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [10/9/2012 4:09:45 PM] : Activation of file:///C:/Inetpub/wwwroot/WindowsFormsApplication4/WindowsFormsApplication4.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [10/9/2012 4:09:45 PM] System.Deployment.Application.InvalidDeploymentException (Manifest)
- Your Web browser settings do not allow you to run unsigned applications.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ApplicationActivator.BrowserSettings.Validate(String manifestPath)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.



----------------------------------------------------------------------------------

what is the mistake i made with it?...please help...

Thanks in advance..

推荐答案

我发现了同样的消息。







我的项目来自调试文件夹的exe文件在参考文献中找到。



我认为不希望的。



Re移动该引用解决了我的问题
I found same message.

.

My project's exe from debug folder itself is found in reference.

which i think undesired.

Removing that reference solves my problem


读取你自己的错误:



Read your own errors:

引用:

错误摘要

{...}检测到以下失败消息:

+您的Web浏览器设置不允许您运行未签名的应用程序。

ERROR SUMMARY
{...} Following failure messages were detected:
+ Your Web browser settings do not allow you to run unsigned applications.





为什么win表单应用程序需要验证Web浏览器设置是另一个障碍。



Why win forms application needs to validate web browser settings is another obstacle.


这篇关于clickonce发布错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆