2012-06-01 29 views
0
身份

我在Visual Studio中  2010年 WPF和ClickOnce的:文獻清單不符的下載組件的WpfApplication1.exe

測試假人WPF瀏覽器應用程序的部署。如果我點擊本地主機xbap它運行正常。

然後,我發佈一個文件服務器上,\ Bebrus1002 \聯網\是\ ABS \ WpfBrowserApplication1.xbap,但是當我點擊部署XBAP我得到這個錯誤:

Following errors were detected during this operation. 
* [1/06/2012 18:14:34] System.Deployment.Application.InvalidDeploymentException (RefDefValidation) 
    - Reference in the manifest does not match the identity of the downloaded assembly WpfApplication1.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.DeploymentManager.SynchronizeCore(Boolean blocking) 
     at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker() 

任何想法?

回答

0

我可以通過刪除對其他項目的剩餘引用來解決它。