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.InvalidDeploymentExc eption
(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.Proc essDownloadedFile(Object
sender, DownloadEventArgs e)
at
System.Deployment.Application.FileDownloader.Downl oadModifiedEventHandler.Invoke(Object
sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnMod ified()
at
System.Deployment.Application.SystemNetDownloader. DownloadSingleFile(DownloadQueueItem
next)
at
System.Deployment.Application.SystemNetDownloader. DownloadAllFiles()
at
System.Deployment.Application.FileDownloader.Downl oad(SubscriptionState
subState)
at
System.Deployment.Application.DownloadManager.Down loadDependencies(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