I upgraded my C# console app from .Net 4.6.1 to 4.7.2. I added SpeckleStructuralClasses to my project that needs a min of .Net 4.7.1
SpeckleCore.SpeckleInitializer.Initialize() gives me the following error after I upgraded
ystem.Reflection.ReflectionTypeLoadException
HResult=0x80131602
Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source=mscorlib
StackTrace:
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes() in f:\dd\ndp\clr\src\BCL\system\reflection\assembly.cs:line 810
at SpeckleCore.SpeckleInitializer.FindDerivedTypes(Assembly assembly, Type baseType)
at SpeckleCore.SpeckleInitializer.Initialize(String pathToKits)
at MongoDBSpeckleTest.Program.Main(String[] args) in C:\Users\jaco.kemp\source\repos\MongoDBSpeckleTest\MongoDBSpeckleTest\Program.cs:line 18
Update: I updated all the Nuget packages and the received this error
System.MissingMethodException
HResult=0x80131513
Message=Method not found: ‘Void SQLite.SQLiteConnection…ctor(System.String, Boolean, System.Object)’.
Source=SpeckleCore
StackTrace:
at SpeckleCore.LocalContext.Init()
at SpeckleCore.SpeckleInitializer.Initialize(String pathToKits)
at MongoDBSpeckleTest.Program.Main(String[] args) in C:\Users\jaco.kemp\source\repos\MongoDBSpeckleTest\MongoDBSpeckleTest\Program.cs:line 18
I assume the latest SpeckleCore is not compatible with .Net 4.7.2?