Bom dia,
Ao publicar meu programa no VS 2017 deu o seguinte erro:
DETALHES DOS ERROS
Os erros a seguir foram detectados durante esta operação.
* [08/06/2017 08:57:16] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exceção ao ler o manifesto de file://servidor/e/Compartilhada/Fabio/Ciaf%20Suporte/Application%20Files/Ciaf%20Suporte_1_0_1_5/Ciaf%20Suporte.exe.manifest: talvez o manifesto não seja válido ou o arquivo não pôde ser aberto.
- Origem: System.Deployment
- Rastreamento de pilha:
em System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
em System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri&
appSourceUri, String& appManifestPath)
em System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
em System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
em System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&
errorPageUrl, Uri& deploymentUri)
em System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings,
String& errorPageUrl)
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings,
String& errorPageUrl)
em System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Exceção interna ---
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- A análise e a criação de DOM do manifesto resultaram em erro. Os seguintes erros de análise foram observados:
-HRESULT:
0x80070c81
Linha inicial:
0
Coluna inicial:
0
Arquivo de host:
- Origem: System.Deployment
- Rastreamento de pilha:
em System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)
em System.Deployment.Application.Manifest.AssemblyManifest..ctor(FileStream fileStream)
em System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Exceção interna ---
System.Runtime.InteropServices.COMException
- Exceção de HRESULT: 0x80070C81
- Origem: System.Deployment
- Rastreamento de pilha:
em System.Deployment.Internal.Isolation.IsolationInterop.CreateCMSFromXml(Byte[] buffer, UInt32 bufferSize, IManifestParseErrorCallback Callback, Guid& riid)
em System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)