gpt4 book ai didi

c# - 如何修复 "The application is improperly formatted"错误?

转载 作者:行者123 更新时间:2023-11-30 17:26:28 24 4
gpt4 key购买 nike

我发布的应用程序在我的计算机 (windows 10) 上运行良好,但在目标计算机 (windows 7) 上运行不正常

我尝试在不签署 ClickOnce list 的情况下发布,我已将所有引用副本本地设置为 true,我确保目标机器 .NET 版本相同,我已经完成了所有关于堆栈溢出的类似主题,并且没有任何帮助。

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

PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.7.3221.0 built by: NET472REL1LAST_C
clr.dll : 4.7.3394.0 built by: NET472REL1LAST_C
dfdll.dll : 4.7.3221.0 built by: NET472REL1LAST_C
dfshim.dll : 4.0.41209.0 (Main.041209-0000)

SOURCES Deployment url : file:///I:/Systems/Systems%20Team/Piotr/USELESS/MBID.application

ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of I:\Systems\Systems Team\Piotr\USELESS\MBID.application resulted in exception. Following failure messages were detected: + Exception reading manifest from file:///I:/Systems/Systems%20Team/Piotr/USELESS/MBID.application: the manifest may not be valid or the file could not be opened. + Deployment manifest is not semantically valid. + Deployment manifest identity contains missing or unsupported processor architecture.

COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected.

WARNINGS There were no warnings during this operation.

OPERATION PROGRESS STATUS * [05/06/2019 12:34:14] : Activation of I:\Systems\Systems Team\Piotr\USELESS\MBID.application has started.

ERROR DETAILS Following errors were detected during this operation. * [05/06/2019 12:34:14] System.Deployment.Application.InvalidDeploymentException (ManifestParse) - Exception reading manifest from file:///I:/Systems/Systems%20Team/Piotr/USELESS/MBID.application: the manifest may not be valid or the file could not be opened. - Source: System.Deployment - Stack trace: at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri) at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation) at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options) 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) --- Inner Exception --- System.Deployment.Application.InvalidDeploymentException (ManifestSemanticValidation) - Deployment manifest is not semantically valid. - Source: System.Deployment - Stack trace: at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole() at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri) --- Inner Exception --- System.Deployment.Application.InvalidDeploymentException (InvalidManifest) - Deployment manifest identity contains missing or unsupported processor architecture. - Source: System.Deployment - Stack trace: at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()

COMPONENT STORE TRANSACTION DETAILS No transaction information is available.

我需要让这个东西工作。

最佳答案

在发布专门针对 32 位机器的版本后,按照 Panagiotis Kanavos 的建议,它可以正常工作。

关于c# - 如何修复 "The application is improperly formatted"错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56460047/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com