我对已部署的应用程序有疑问,该问题似乎与某些 Syncfusion 组件有关。
Syncfusion.Core
Syncfusion.Shared.Wpf
如果我没有将它们包含在我使用 Visual Studio (2012) 创建的已发布包中,那么当我部署并尝试运行该应用程序时,我会收到一条错误消息,指出需要在 GAC 中安装 Syncfusion.Core。
在 Synfusion 站点上,它说我可以安装到 GAC 或将 dll 包含在包中。因此,如果我在已发布的打包文件中包含 dll 文件,我现在在运行应用程序时会收到以下错误。
ERROR DETAILS
Following errors were detected during this operation.
* [19/03/2013 08:49:00] System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
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.
关于错误原因的任何想法?