Welcome to Speckle @jsantana. I’m sorry your question was missed.
We haven’t seen this error before. Would you mind sharing your .csproj details with us?
What dotnet flavour/version are you targeting?
What other dependencies are you referencing?
Hi @jsantana,
We’ve seen similar issues with this in the past when using the older .NET style projects.
Our general advice is to upgrade to using the newer SDK style projects for your csproj if you can.
My advice would be to create a new project using a newer .NET 6 template (since the NET4.X templates often still use the older style). Then replace the contents with this below. And copy your code files over to the new project.
You may need to re-import any other Nuget/package references manually.
There’s also a chance that simply calling SQLitePCL.Batteries.Init() before using any Speckle function will solve this issue for you if you didn’t want to upgrade your projects to use the new csproj format.
Sorry to add here, I have encountered this on a dotnet 8 app which has been published to a single file exe. I tried adding the SQLitePCL.Batteries.Init() but I got an Dll not found exception