chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
I am using a third-party package (SciChart) in my .net c# solution.  I upgraded the SciChart to there latest version and now the tests in that project fail with the following error:

System.TypeInitializationException : The type initializer for 'wqt' threw an exception.
  ----> System.InvalidOperationException : babel m0 6853021: Common Language Runtime detected an invalid program.
  ----> System.InvalidProgramException : Common Language Runtime detected an invalid program.

Stack Trace:

   at wqt.mqy(String awh)
   at SciChart.Charting.Visuals.SciChartSurface.SetRuntimeLicenseKey(String key)
   at ClassLibrary1.Class1..ctor() in C:\Users\dwitt\Documents\Projects\UnitTest\TypemockSciChartIssue\ClassLibrary1\Class1.cs:line 7
   at ClassLibrary1.Class1Test.TestConstructor() in C:\Users\dwitt\Documents\Projects\UnitTest\TypemockSciChartIssue\ClassLibrary1\Class1Test.cs:line 13
   at wso.wos(Int32 buu, Object buv, Object[] buw)
   at wqt..cctor()
   at wso..ctor()
   at wso.get_lyo()
   at wso.wos(Int32 buu, Object buv, Object[] buw)

Any help with this would be greatly appreciated.

I can provide an example solution if necessary.
asked by dougwitt (600 points)

1 Answer

0 votes

Please send the example solution please and Isolator Logs see here

answered by eli (5.7k points)