Giter Site home page Giter Site logo

Comments (6)

Thorium avatar Thorium commented on July 19, 2024 1

Silly question but did you have the database file also in place?

from sqlprovider.

Thorium avatar Thorium commented on July 19, 2024

You are missing Microsoft.Data.Sqlite.dll from your files path.
Copy the netstandard2.0 version of it to there.
You can get it e.g. from C:\Users\(yourname)\.nuget\packages\microsoft.data.sqlite.core\8.0.4\lib\netstandard2.0 or whatever is your NuGet path.

Edit: After that you may need to re-open your editor (e.g. Visual Studio).

from sqlprovider.

shin0kaze avatar shin0kaze commented on July 19, 2024

Thanks for the suggestion. I added a new lib, and copied the existing ones again from netstandart2.0 as well for compatibility (pushed to the repo). But that didn't help. Maybe something is wrong with these dlls?

from sqlprovider.

Thorium avatar Thorium commented on July 19, 2024

Hmm, I took your original report, just added Microsoft.Data.Sqlite.dll to your files and it worked (VS2022).

from sqlprovider.

shin0kaze avatar shin0kaze commented on July 19, 2024

Switched to the previous commit and added the new lib. But still error persist. Then updated and repaired VS 2022, also didn't helped. Tried Rider - same result. I don't know, maybe I should reinstall the entire.net?

Tomorrow, I will also try to run it on another PC.

from sqlprovider.

shin0kaze avatar shin0kaze commented on July 19, 2024

Oh, there was an empty file test.db)) I thought it would create the database in ReadWriteCreate mode if none existed. Thanks for helping!

from sqlprovider.

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.