-
Notifications
You must be signed in to change notification settings - Fork 144
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
SQLite provider ResolutionPath fail #818
Comments
Thanks for reporting this. The only change related to this is the commit f48f7dd to support I don't totally follow the workaround. Where is your SQLitePCLRaw.core ? |
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? |
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 |
I am using a project, and the error is raised at compile-time. I have also tried to exchange the path with |
Would you have a sample repo, Edit: sorry, just noticed this is Windows 11. But I'm still unable to reproduce this, your code works perfectly. |
Thanks for the sample repo. |
Great! Thanks! |
Describe the bug
Since version 1.3.28, SQLite provider does not resolve the path to the dll.
An error is raised:
To Reproduce
If the project references SQLProvider <=1.3.27, the above code compiles correctly.
If the project references a later version it fails to compile (see error above).
Notice that one needs to run
dotnet clean
when switching versions to see the change in behaviour.Expected behavior
The dlls should be found in the ResolutionPath.
Desktop (please complete the following information):
Workaround
The code compiles if the required dlls are placed in the same folder as the source file (default resolution path?).
The text was updated successfully, but these errors were encountered: