我做了ClickOnce部署,和我收到以下错误:错误的ClickOnce安装
ERROR DETAILS
Following errors were detected during this operation.
* [02/06/2011 22:15:29] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
- Reference in the manifest does not match the identity of the downloaded assembly WPFAutoCompleteTextbox.exe.
- 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, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
这是否意味着WPFAutoCompleteTextbox.exe不可用?
这是我的第一个ClickOnce部署。
可能重复[InvalidDeploymentException错误,当部署.NET应用程序。](http://stackoverflow.com/questions/2248314/invaliddeploymentexception-error-when-deploying-网络应用) – 2011-06-02 20:19:38
嗨djacobson,感谢您的链接。如何使用相同的证书签名?我的第一个部署需要一些帮助。你能指点我什么教程吗?谢谢 – Johann 2011-06-04 10:34:13