2
我一直在環顧四周,其他人是如何解決這個錯誤,沒有任何工作適合我。我想在我的應用程序,包括庫來源於一個.exe(PowerTool.exe),每次我嘗試將應用程序安裝到我的電腦或第三方電腦,我收到此錯誤:「清單中的引用與身份不符......」錯誤
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.34209
System.Deployment.dll : 4.0.30319.34244 built by: FX452RTMGDR
clr.dll : 4.0.30319.34209 built by: FX452RTMGDR
dfdll.dll : 4.0.30319.34244 built by: FX452RTMGDR
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : file:///C:/Users/zmcpher/Desktop/Apps/BatteryAutomation/MyAccount%20Battery%20Automation.application
Application url : file:///C:/Users/zmcpher/Desktop/Apps/BatteryAutomation/Application%20Files/MyAccount%20Battery%20Automation_1_0_0_5/MyAccount%20Battery%20Automation.exe.manifest
IDENTITIES
Deployment Identity : MyAccount Battery Automation.application, Version=1.0.0.5, Culture=neutral, PublicKeyToken=fba777f97efbcb75, processorArchitecture=msil
Application Identity : MyAccount Battery Automation.exe, Version=1.0.0.5, Culture=neutral, PublicKeyToken=fba777f97efbcb75, processorArchitecture=msil, type=win32
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\zmcpher\Desktop\Apps\BatteryAutomation\MyAccount Battery Automation.application resulted in exception. Following failure messages were detected:
+ Reference in the manifest does not match the identity of the downloaded assembly PowerTool.exe.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [4/22/2015 12:43:19 PM] : Activation of C:\Users\zmcpher\Desktop\Apps\BatteryAutomation\MyAccount Battery Automation.application has started.
* [4/22/2015 12:43:19 PM] : Processing of deployment manifest has successfully completed.
* [4/22/2015 12:43:19 PM] : Installation of the application has started.
* [4/22/2015 12:43:19 PM] : Processing of application manifest has successfully completed.
* [4/22/2015 12:43:21 PM] : Found compatible runtime version 4.0.30319.
* [4/22/2015 12:43:21 PM] : Request of trust and detection of platform is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [4/22/2015 12:43:21 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
- Reference in the manifest does not match the identity of the downloaded assembly PowerTool.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.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)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
我嘗試過更改清單,更改/刪除參考,刪除/重建,打開/關閉以及更改項目屬性 - 但似乎沒有任何工作。
我錯過了什麼?該程序工作正常時,在調試模式下,爲什麼不會編譯成安裝文件?我使用VS2013
感謝您的任何和所有幫助