我有一個.NET 4 WPF ClickOnce部署,安裝並正常工作。但是,我們也有不同的.NET 3.5 WPF應用程序,該應用程序使用從同一服務器安裝的不同密鑰進行簽名,如果第一個應用程序已安裝,則會使用不同的URL位置進行安裝。如果首先安裝.NET 3.5應用程序,並且我嘗試安裝.NET 4應用程序,則它將失敗。這已被複制到多臺機器上,StackTrace如下所示。兩個不同的ClickOnce應用程序不能安裝在同一臺計算機上
Application cannot start...
+ Exception occurred during store operation.
+ Value does not fall within the expected range.
ERROR DETAILS
Following errors were detected during this operation.
* [12/17/2012 8:06:51 AM] System.Deployment.Application.DeploymentException (ComponentStore)
- Exception occurred during store operation.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentStore.SubmitStoreTransaction(StoreTransactionContext storeTxn, SubscriptionState subState)
at System.Deployment.Application.ComponentStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)
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)
--- Inner Exception ---
System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.Transact(IntPtr cOperation, StoreTransactionOperation[] rgOperations, UInt32[] rgDispositions, Int32[] rgResults)
任何想法爲什麼這兩個應用程序會有衝突?