Hi,
I am trying to add support for QuickBooks Online and Intuit IPP. You can install the assemblies by going to manage packages and entering Intuit. Install the first one. When I add the DevDefined.OAuth assembly to my nopCommerce project, I receive this error:
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.RuntimeModule.GetTypes() +4
System.Reflection.Assembly.GetTypes() +61
Nop.Core.Infrastructure.AppDomainTypeFinder.FindClassesOfType(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses) +106
[Exception: Inheritance security rules violated while overriding member: 'DevDefined.OAuth.KeyInterop.BerDecodeException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
]
Nop.Core.Infrastructure.AppDomainTypeFinder.FindClassesOfType(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses) +426
Nop.Core.Infrastructure.AppDomainTypeFinder.FindClassesOfType(Boolean onlyConcreteClasses) +70
Nop.Core.Infrastructure.DependencyManagement.<>c__DisplayClass1.<Configure>b__0(ContainerBuilder x) +62
Nop.Core.Infrastructure.DependencyManagement.ContainerManager.UpdateContainer(Action`1 action) +66
Nop.Core.Infrastructure.DependencyManagement.ContainerConfigurer.Configure(IEngine engine, ContainerManager containerManager, EventBroker broker, NopConfig configuration) +272
Nop.Core.Infrastructure.NopEngine.InitializeContainer(ContainerConfigurer configurer, EventBroker broker, NopConfig config) +110
Nop.Core.Infrastructure.NopEngine..ctor(EventBroker broker, ContainerConfigurer configurer) +44
Nop.Core.Infrastructure.NopEngine..ctor() +42
Nop.Core.Infrastructure.EngineContext.CreateEngineInstance(NopConfig config) +136
Nop.Core.Infrastructure.EngineContext.Initialize(Boolean forceRecreate) +65
Nop.Web.MvcApplication.Application_Start() +131
[HttpException (0x80004005): Inheritance security rules violated while overriding member: 'DevDefined.OAuth.KeyInterop.BerDecodeException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9859725
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): Inheritance security rules violated while overriding member: 'DevDefined.OAuth.KeyInterop.BerDecodeException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873912
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254