Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net 单击一次部署:应用程序验证未成功_Vb.net_Winforms_Visual Studio 2017_Clickonce - Fatal编程技术网

Vb.net 单击一次部署:应用程序验证未成功

Vb.net 单击一次部署:应用程序验证未成功,vb.net,winforms,visual-studio-2017,clickonce,Vb.net,Winforms,Visual Studio 2017,Clickonce,我浏览了各种文章,花了很多时间在谷歌上搜索我的特定问题的解决方案 我的应用程序在调试时运行良好,但在部署时单击一次就无法安装最终创建的应用程序。我最近重建了我的笔记本电脑,这个错误从那以后才开始发生 我已尝试删除并重新添加特定引用。我已经试着在这个网站和其他网站上签署了申请表和各种其他建议。似乎没有人能解决我的问题 当我尝试安装应用程序时,出现错误“应用程序验证未成功”,并导致以下日志文件: PLATFORM VERSION INFO Windows :

我浏览了各种文章,花了很多时间在谷歌上搜索我的特定问题的解决方案

我的应用程序在调试时运行良好,但在部署时单击一次就无法安装最终创建的应用程序。我最近重建了我的笔记本电脑,这个错误从那以后才开始发生

我已尝试删除并重新添加特定引用。我已经试着在这个网站和其他网站上签署了申请表和各种其他建议。似乎没有人能解决我的问题

当我尝试安装应用程序时,出现错误“应用程序验证未成功”,并导致以下日志文件:

    PLATFORM VERSION INFO
    Windows             : 10.0.16299.0 (Win32NT)
    Common Language Runtime     : 4.0.30319.42000
    System.Deployment.dll       : 4.7.3062.0 built by: NET472REL1
    clr.dll             : 4.7.3190.0 built by: NET472REL1LAST_C
    dfdll.dll           : 4.7.3062.0 built by: NET472REL1
    dfshim.dll          : 10.0.16299.15 (WinBuild.160101.0800)

SOURCES
    Deployment url          : http://URL//Karate%20Admin.application
                        Server      : Microsoft-IIS/8.5
                        X-Powered-By    : ASP.NET
    Deployment Provider url     : http://URL/Karate%20Admin.application
    Application url         : http://URL//Application%20Files/Karate%20Admin_1_0_0_37/Karate%20Admin.exe.manifest
                        Server      : Microsoft-IIS/8.5
                        X-Powered-By    : ASP.NET

IDENTITIES
    Deployment Identity     : Karate Admin.application, Version=1.0.0.37, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil
    Application Identity        : Karate Admin.exe, Version=1.0.0.37, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
    * Installable application.

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of http://URL//Karate%20Admin.application resulted in exception. Following failure messages were detected:
        + Strong name signature not valid for this assembly System.Management.Automation.dll.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    * The manifest for this application does not have a signature. Signature validation will be ignored.
    * The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
    * [14/10/2018 18:38:11] : Activation of http://URL//Karate%20Admin.application has started.
    * [14/10/2018 18:38:11] : Processing of deployment manifest has successfully completed.
    * [14/10/2018 18:38:11] : Installation of the application has started.
    * [14/10/2018 18:38:11] : Processing of application manifest has successfully completed.
    * [14/10/2018 18:38:13] : Found compatible runtime version 4.0.30319.
    * [14/10/2018 18:38:13] : Detecting dependent assembly System.ComponentModel.Annotations, Version=4.0.10.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A using System.ComponentModel.Annotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    * [14/10/2018 18:38:13] : Detecting dependent assembly System.Net.Http.Rtc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A using System.Net.Http.Rtc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    * [14/10/2018 18:38:13] : Request of trust and detection of platform is complete.

ERROR DETAILS
    Following errors were detected during this operation.
    * [14/10/2018 18:38:23] System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
        - Strong name signature not valid for this assembly System.Management.Automation.dll.
        - Source: System.Deployment
        - Stack trace:
            at System.Deployment.Application.ComponentVerifier.VerifyStrongNameAssembly(String filePath, AssemblyManifest assemblyManifest)
            at System.Deployment.Application.ComponentVerifier.VerifyComponents()
            at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
            at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
            at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- End of stack trace from previous location where exception was thrown ---
            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(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.
如果有人能给我一些建议来解决这个问题,我将永远感激

谢谢,
史蒂夫

看起来像是谢尔盖把它钉在了头上,我的.NET框架被破坏了。奇怪的是,我试图修复并重新安装该框架,但没有成功


使用新的windows版本完全重置我的笔记本电脑就成功了,可能在某个地方发生了冲突。

错误消息“强名称签名对此程序集系统无效。Management.Automation.dll”似乎表明您的.NET Framework安装中可能存在损坏。您已共享了应用程序发布地址,强烈建议将其删除。我试过安装,一切都很好。您是否尝试清除C:\Users\\AppData\Local\Apps\2.0*文件夹?嗨,Sergey,谢谢。。。我已经删除了URL。。。我在沮丧中错过了它!我只是尝试一个干净的电脑重建,因为我怀疑这与我的框架被破坏有关。。。我会让你知道结果的。