Code Monkey home page Code Monkey logo

Comments (10)

KlaLeu avatar KlaLeu commented on July 22, 2024 1

Hi,
I had this error synonymous and by downloading and integration of the nuget package has it works for me then. I once attached a minimal test project. I hope that helps solve the problem.

GMapTestCSharpMin.zip

from gmap.net.

JustABearOz avatar JustABearOz commented on July 22, 2024 1

I solved this issue by by changing the build from Any CPU to x64.

from gmap.net.

KlaLeu avatar KlaLeu commented on July 22, 2024

Hallo,
install with nuget the "System.Data.SQLite.Core" check the "bin" directory in the directories "x86" and "x64" which contains dll "SQLite.Interop.dll". This should happen when deploying the application.

from gmap.net.

SaiBalaji202 avatar SaiBalaji202 commented on July 22, 2024

Hi,
At the time of installing GMap itself, SQLite.Core also gets installed. I also checked 'x86' and 'x64' directories. They also contain the SQLite.Interop.dll

Still, I'm getting the same error. Could you please help me with that?

from gmap.net.

xxJohnxx avatar xxJohnxx commented on July 22, 2024

Same problem. Any solution would be appriciated!

from gmap.net.

xxJohnxx avatar xxJohnxx commented on July 22, 2024

Hi KlaLeu,
Thanks for the example project! However, it is in WinForms, which works well on my end.

I get the SQLite.Interop.dll error when using WPF (Windows Presentation Foundation). Same for SaiBalaji202 as it seems according to his first post.

Do you have any experience with that, regarding the specific problem?

from gmap.net.

VISHAL1204 avatar VISHAL1204 commented on July 22, 2024

Hi KlaLeu,
Please try for WPF project and Update.

from gmap.net.

KlaLeu avatar KlaLeu commented on July 22, 2024

Hi,
The problem also exists with the master downloaded here. It seems that there is a problem with the MapControl in the WPF Designer. This can be avoided by building the WPF form exclusively in xaml. I did that in the attached mini project and it works.
WPFErrorInDemo
TestWPF_GMapMin.zip

Sorry,
I have no experience in WPF because I work exclusively in the Windows Forms area and .Net Microframework https://kleuthold.wordpress.com/ area.

from gmap.net.

Dunge avatar Dunge commented on July 22, 2024

+1

I just realized this project was still maintained (was using the radioman github stuck at 1.7.5) so I decided to update our project to the latest release.

Seems like application targeting .NET4 and Any CPU have a problem with loading SQLite dll. Switching my application to x64 works, but I would really like to prevent forcing a x64 OS and keep "Any CPU" functional. Any idea how we could fix that?

Edit: Nevermind, Adding the System.Data.SQLite nuget in my project fixed it. It downloaded both x86 and x64 dll in different folders and it seems to be working.

from gmap.net.

zgabi avatar zgabi commented on July 22, 2024

Please try to add this line to your csproj:
<RuntimeIdentifier>win-x86</RuntimeIdentifier>

For me it works with AnyCPU Prefer 32bit=True, .NET 4.0 target

from gmap.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.