ClickOnce does not install referenced dl

Edivaldo Sousa 1 Reputation point
2020-08-24T22:09:41.54+00:00

I have a dll referenced in my project. I can publish successfully, but when I install, the following error occurs:

DETALHES DOS ERROS
Os erros a seguir foram detectados durante esta operação.
* [24/08/2020 18:36:06] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)

  • Exceção ao carregar o manifesto do arquivo NFe_Util_2G.dll: 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.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)
    em System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
    em System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
    em System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
    em System.Deployment.Application.FileDownloader.OnModified()
    em System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
    em System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
    em System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)
    em System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
    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.DeploymentException (InvalidManifest)
  • Não é possível carregar o manifesto interno do arquivo de componente.
  • Origem:
  • Rastreamento de pilha:

PS: I'm sorry for my bad English. I am fluent in google translator.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 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.