Closed leo-stone closed 3 years ago
Probably related to: https://github.com/ErikEJ/SqlCeToolbox/issues/887
In other words, try this: https://github.com/ErikEJ/SqlCeToolbox/issues/887#issuecomment-808858493
If that is the case, my only option is to revert to System.Data.Sqlite 109!
To me it appears, the release is missing the dll. Still defunct.
I renamed the mentioned dll, see the output now and compare:
Version 4.7.691.0 - 1.719.139 downloads
SQL Server Compact 4.0 in GAC - No SQL Server Compact 4.0 DbProvider - No
SQL Server Compact 4.0 DDEX provider - No SQL Server Compact 4.0 Simple DDEX provider - Yes
SQL Server Compact 3.5 in GAC - No SQL Server Compact 3.5 DbProvider - No
SQL Server Compact 3.5 DDEX provider - No
Sync Framework 2.1 SqlCe 3.5 provider - No
SQLite ADO.NET Provider installed: No SQLite EF6 DbProvider in GAC - No System.Data.SQLite DDEX provider - No SQLite Simple DDEX provider - Yes
Sadly, as also mentioned in the related issue, it just means System.Data.SQLite is not installed in GAC on your machine.
But is it still broken now?
Yes still broken, System.Data.SQLite.dll is contained in the Package, but fails to load.... obviously
Obviously
Why?
The release works fine on my PC and reports 113 installed. I do not have System.Data.Sqlite in GAC.
I've now renamed your dll, e.g. 113, now I get following
Obviously
Why?
because of the red error message?
Restart VS / re-install extension?
Is the System.Data.SQLite.dll present in the %localappdata%\Microsoft\VisualStudio and which versions?
You should not rename "my dll", rename the one on PrivateAssemblies !
I did both, first I renamed the one in Private Assemblies, and posted the result. Only later I've checked your dll, if it is there, or not, and then renamed it, to check behaviour...
Please, wich dll are you redistributing??? Because
Is this the correct dll? Because in PrivateAssemblies is
I am distributing .113
I have nothing to do with the PrivateAssemblies folder!
I know that, but you are redistributing SQLite.Interop.dll, can you maybe give me an previous release package, so i can compare?
Previous versions contain the same dll (System.Data.SqLite.dll is the file name) - as you can see in source control history: https://github.com/ErikEJ/SqlCeToolbox/commits/master/src/GUI/lib/System.Data.SQLite.dll
Do you have SQLite installed in GAC?
Do you have SQLite installed in GAC?
No
The dll you redistribute has dependencies, it needs ~~System.Data.SQLite.Core.113 which I don't have I have System.Data.SQLite.Core.109 via PrivateAssemblies So somehow your package should reference this dependencies so they get installed, no?~~ MSVCR100.dll
Correct, System.Data.SQLite.dll version .113 is included with the extension, and installed within the extension folder, together with the other parts of the extensions in the folder: C:\Users\eej\AppData\Local\Microsoft\VisualStudio\16.0xxx
Yes, but it has a dependency that is not on my machine...., I suspect now
Anywaz, if I'm the only one with that issue, you should not think about it too much.....
Ah, I see now - I take the file from: sqlite-netFx40-static-binary-bundle-Win32-2010-1.0.113.0.zip
Maybe I should be using this: sqlite-netFx451-static-binary-bundle-Win32-2013-1.0.113.0.zip (which depends on a newer C++ runtime)
Yes, but it has a dependency that is not on my machine...., I suspect now
Anywaz, if I'm the only one with that issue, you should not think about it too much.....
Just, confirmed... installing https://www.microsoft.com/de-de/download/details.aspx?id=8328 fixes it.
I will take a newer "build" onboard, thanks for your patience and debugging work.
Hi there,
today I got surprised by the toolbox not working anymore. It got probably updated automatically. If I hit the add sqlite connection button, VS 2019 crashes.
Version 4.7.691.0 - 1.718.194 downloads
SQL Server Compact 4.0 in GAC - No SQL Server Compact 4.0 DbProvider - No
SQL Server Compact 4.0 DDEX provider - No SQL Server Compact 4.0 Simple DDEX provider - Yes
SQL Server Compact 3.5 in GAC - No SQL Server Compact 3.5 DbProvider - No
SQL Server Compact 3.5 DDEX provider - No
Sync Framework 2.1 SqlCe 3.5 provider - No
SQLite ADO.NET Provider installed: 1.0.109.0 SQLite EF6 DbProvider in GAC - No System.Data.SQLite DDEX provider - No SQLite Simple DDEX provider - Yes