Git Product home page Git Product logo

Comments (8)

Thorium avatar Thorium commented on May 23, 2024

Thanks for reporting this. The only change related to this is the commit f48f7dd to support ; in resolution path so that you can feed multiple resolution paths. It shouldn't change the single-path-case at all, but apparently it has.

I don't totally follow the workaround. Where is your SQLitePCLRaw.core ?

from sqlprovider.

FedericoTauto avatar FedericoTauto commented on May 23, 2024

If I place the SQLitePCLRaw.core and the other dlls in the same folder as the project file and source file it works. If I move them to the ResolutionPath folder it does not work. Is there a default resolution path where the provider looks for the files?

from sqlprovider.

Thorium avatar Thorium commented on May 23, 2024

The default resolution path should be what you defined, however a few things to consider:

Is this script (fsx) or a project (fs)?

For projects, the resolution path should be used in design-time/compile-time only and runtime the files should be copied to the bin-folder (e.g. by adding them as reference files or any other way) because it doesn't make sense to look resolution path from compiled code.

For scripts it doesn't matter so much, but I guess more the question is, have you given a relative path like "./mylibs" or an absolute path like __SOURCE_DIRECTORY__ + "/mylibs", because the scripts are sometimes executed in weird temp project paths.

from sqlprovider.

FedericoTauto avatar FedericoTauto commented on May 23, 2024

I am using a project, and the error is raised at compile-time. I have also tried to exchange the path with __SOURCE_DIRECTORY__ + "/libs/win-x64" but no success

from sqlprovider.

Thorium avatar Thorium commented on May 23, 2024

Would you have a sample repo, I could try with my Mac at some point?
The database file name is in the connection string. Do you have full path there or no?

Edit: sorry, just noticed this is Windows 11. But I'm still unable to reproduce this, your code works perfectly.

from sqlprovider.

FedericoTauto avatar FedericoTauto commented on May 23, 2024

Hi @Thorium. Sorry it took a while to respond, I got very busy at work with other stuff.
I created a repo here that you should be able to use to reproduce the issue.

from sqlprovider.

Thorium avatar Thorium commented on May 23, 2024

Thanks for the sample repo.
Issue fixed in 1.3.36

from sqlprovider.

FedericoTauto avatar FedericoTauto commented on May 23, 2024

Great! Thanks!

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.