ClickOnce deployment gets messed up after going from 2.0 to 3.5

N

Nessi

Hi yall!

I got a locally published website and client (deployed by ClickOnce) that I
install on several servers. I'm using mage.exe to update and re-sign the
application and deployment manifests. Everything worked like a charm when
using 2.0
Now we moved to 3.5 and I updated mage.exe and added the now necessary
Microsoft.Build... assembly. The whole resigning process worked fine, but
when I try to install the client on a fresh machine, I get the following
following error:

Code:
ERROR DETAILS
Following errors were detected during this operation.
* [07.07.2008 13:52:14]
System.Deployment.Application.InvalidDeploymentException
(ManifestSemanticValidation)
- Application contains an assembly with the same identity as the
application or deployment: PcVclient.application, Version=1.2.99.0,
Culture=neutral, PublicKeyToken=b2cb5e85fcd37978, processorArchitecture=msil.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object
sender, DownloadEventArgs e)
at
System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnModified()
at
System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at
System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at
System.Deployment.Application.FileDownloader.Download(SubscriptionState
subState)
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)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

Any ideas, hints, tipps much appreciated. Thanks for reading tat far.

Cheers,
Nessi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top