i can't install wpf app after publish

khaled collo 21 Reputation points
2020-08-23T23:37:01.067+00:00
PLATFORM VERSION INFO
Windows  : 6.1.7601.65536 (Win32NT)
Common Language Runtime  : 4.0.30319.42000
System.Deployment.dll  : 4.6.1590.0 built by: NETFXREL2
clr.dll  : 4.6.1590.0 built by: NETFXREL2
dfdll.dll  : 4.6.1590.0 built by: NETFXREL2
dfshim.dll  : 4.0.41209.0 (Main.041209-0000)

SOURCES
Deployment url : file:///D:/KHALED/Publish%20Apps/Store%20Management/StoreManagement.application

IDENTITIES
Deployment Identity : StoreManagement.application, Version=1.0.0.7, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil

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 D:\KHALED\Publish Apps\Store Management\StoreManagement.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///D:/KHALED/Publish%20Apps/Store%20Management/Application%20Files/StoreManagement_1_0_0_7/StoreManagement.exe.manifest: the manifest may not be valid or the file could not be opened.
+ Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed: 
-HRESULT:  0x80070c81
 Start line:  0
 Start column:  0
 Host file: 
+ Exception from HRESULT: 0x80070C81

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.

OPERATION PROGRESS STATUS
* [24-08-2020 00:32:17] : Activation of D:\KHALED\Publish Apps\Store Management\StoreManagement.application has started.
* [24-08-2020 00:32:17] : Processing of deployment manifest has successfully completed.
* [24-08-2020 00:32:17] : Installation of the application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [24-08-2020 00:32:17] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///D:/KHALED/Publish%20Apps/Store%20Management/Application%20Files/StoreManagement_1_0_0_7/StoreManagement.exe.manifest: 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.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed: 
-HRESULT:  0x80070c81
 Start line:  0
 Start column:  0
 Host file: 
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(FileStream fileStream)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Runtime.InteropServices.COMException
- Exception from HRESULT: 0x80070C81
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IsolationInterop.CreateCMSFromXml(Byte[] buffer, UInt32 bufferSize, IManifestParseErrorCallback Callback, Guid& riid)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,784 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.