1
Vote

TargetInvocationException with .Net 4.5, EF 6.1.3 and SsasProvider 2.7.0.0

description

Hello
I tried UsageExample projects from the SSAS Entity Framework Provider version 2.7.0.0. It works fine with Entity Framework 6.1.3 and .Net 4.0, but when I use EF 6.1.3 and convert to .Net 4.5 projects I get the following exceptions:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. 
---> System.TypeInitializationException: The type initializer for 'AgileDesign.SsasEntityFrameworkProvider.SsasProvider' threw an exception. 
---> System.TypeLoadException: Method 'ExecuteAsync' in type 'A.WN' from assembly 'SsasEntityFrameworkProvider, Version=2.7.0.0, Culture=neutral, PublicKeyToken=0c609c2d7c233e82' does not have an implementation.
   at AgileDesign.SsasEntityFrameworkProvider.SsasProvider..ctor()
   at ()
   at A.FV.B()
   at AgileDesign.SsasEntityFrameworkProvider.SsasProvider..cctor()
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
Does this version of Ssas provider work with the .Net 4.5 and EF 6. ?

Thanks, Tom

comments