-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update from 5.0.1 to 6.0breaks all SqliteConnection #26574
Comments
@pierresa can you post the full exception details, including the stack trace? A code sample which shows this occurring would also help understand what's going on. |
here is the stack:
as for code sample, I just need the above code called with a "Using" as in the example online, it fails on "using" |
Same in my UWP project Dependency: Example code: private SQLite()
{
SQLitePCL.Batteries_V2.Init();
SQLitePCL.raw.sqlite3_win32_set_directory(1, ApplicationData.Current.LocalFolder.Path);
SQLitePCL.raw.sqlite3_win32_set_directory(2, ApplicationData.Current.TemporaryFolder.Path);
Connection = new SqliteConnection("Filename=Sqlite.db;");
Connection.Open();
InitializeDatabase();
} |
Here is a stack trace :
Reproes on GH actions on a Windows machine (ubuntu was fine) and didn't repro locally. https://github.com/OrchardCMS/OrchardCore/runs/4146435675?check_suite_focus=true#step:8:1324 |
/cc @bricelam |
I think I isolated the issue. When running on netcoreapp3.1 the My tests work fine on net5.0 and net6.0 since it can't find the class, hence doesn't try to get this property. |
I see in response above "closed" ... well it is not closed for me The problem still exist and I do not see any update in nugets that I could apply |
@pierresa that is how we handle issue management. Once the bug is fixed in code it is closed, there is a milestone that describe when it will be shipped: 6.0.1. |
FYI for those impacted by this issue: EF Core 6.0.1 is now available from NuGet. |
This fix does not appear to have made it into Microsoft.Data.Sqlite 6.0.20. |
@riverar Please open a new issue and attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing so that we can investigate. |
File a bug
C# code like:
used to work fine.
Now I am getting:
Include version information
Microsoft.Data.Sqlite version: 6.0
Target framework: (e.g. .NET 5.0)
Operating system: Windows 11
The text was updated successfully, but these errors were encountered: