-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Exception-Method not found: ..LiteRepository.Insert... at ...FSharp.Extensions.LiteRepository.insertItem... #25
Comments
Hmm looks like a nasty exception we got here, this is usually due to assemblies not properly loaded. I will need a bit more information:
|
On my fsproj file the References version are:
And this are the version
May be an issue with The full code:
|
Thanks a lot @srlopez, I will investigate this further. Though these example should have worked because they are all unit-tested. |
Found it, you are using incompatible versions of <PackageReference Include="LiteDB" Version="4.1.4" />
<PackageReference Include="LiteDB.FSharp" Version="2.7.0" /> The fix is to remove <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="LiteDB.FSharp" Version="2.7.0" />
</ItemGroup>
</Project> Can you please confirm the fix when you remove the |
Confirmed & Thanks!
Thanks |
Continuing with my first steps, I find that I still need to include some module.
I get the following error addressed from the following line:
LiteRepository.insertItem eorder
The text was updated successfully, but these errors were encountered: