This project is read-only.

TargetInvocationException with .Net 4.5, EF 6.1.3 and SsasProvider


I tried UsageExample projects from the SSAS Entity Framework Provider version 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=, 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


grand wrote Dec 7, 2017 at 4:24 AM

I am sorry to say that, but .NET Framework 4.5 is not supported yet. There is also no ETA for adding such support.

If you buy a license with source code you could implement 4.5 support on your own though, and we could negotiate adding 4.5 support in such a case.