How to resolve “Could not load file or assembly 'Microsoft.Practices.Prism' ” error?

前端 未结 7 1219
梦谈多话
梦谈多话 2021-01-16 03:16

I\'ve been searching the past few days trying to get an error fixed in a WPF application using Prism, but haven\'t had any luck and thought I\'d see if Stackoverflow had any

7条回答
  •  爱一瞬间的悲伤
    2021-01-16 03:49

    StackTrace: at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at Microsoft.Practices.Prism.Modularity.ConfigurationStore.RetrieveModuleConfigurationSection() at

    The call stack itself indicates that Prism is already loaded, but when it tries to parse the .config file, an exception happens in RetrieveModuleConfigurationSection.

    You might start from there to check what might be the cause.

提交回复
热议问题