So, my solution is adding these two DLL anycodings_c# libraries into the project, then they anycodings_c# can be published to the client machine anycodings_c# using the ClickOnce. I searched '' in local anycodings_c# environment and found it is saved in the anycodings_c# following folder anycodings_c# "\packages\.1.0.105.2\build\" anycodings_c# for the specific. I compared the two environments and anycodings_c# found the DLL file '' anycodings_c# had not been published to the client anycodings_c# machine that we can see in the following anycodings_c# graphic. After having installed the anycodings_c# SQLite library into the project from anycodings_c# NuGet, it works perfectly in the local anycodings_c# environment but pops up the exception anycodings_c# error message "Unable to load DLL anycodings_c# ''" on the client anycodings_c# machine. I am developing an Outlook Add Ins using anycodings_c# ClickOnce to publish it and SQLite as anycodings_c# the database. I also encountered the similar issue in anycodings_c# my environment of Visual Studio 2017 and anycodings_c# NET Framework 4.5, the circumstance is: Unable to load dll sqlite interop dll anycodings_visual-studio-2015 WPF Note : I tried the first answer of this post anycodings_visual-studio-2015 : Therefore, my question is : What can I do to anycodings_visual-studio-2015 make sure that this dll is installed anycodings_visual-studio-2015 together with my program ? SYSTEM.DATA SQLITE INSTALLI anycodings_visual-studio-2015 don't want future users to have to do this anycodings_visual-studio-2015 manually when they install my app ! This way, the app runs well.īut I'm not really satisfied with this anycodings_visual-studio-2015 solution, since it seems really dirty. System.DllNotFoundException : Unable to anycodings_visual-studio-2015 load DLL '' : the anycodings_visual-studio-2015 specified module cannot be found (Exception anycodings_visual-studio-2015 from HRESULT : 0x8007007E)Īfter some research, I found this dll in the anycodings_visual-studio-2015 Debug folder and copied it in the folder anycodings_visual-studio-2015 where the ".exe" version of my program is anycodings_visual-studio-2015 created (after publishing and executing anycodings_visual-studio-2015 "setup.exe"). However, whenever I publish it anycodings_visual-studio-2015 (with ClickOnce) and try to run the app, it anycodings_visual-studio-2015 crashes with the following error anycodings_visual-studio-2015 : When I execute my app in VS, everything anycodings_visual-studio-2015 works fine. anycodings_visual-studio-2015 I installed SQLite for my program with NuGet anycodings_visual-studio-2015 and three references appeared in the anycodings_visual-studio-2015 Solution Explorer (, anycodings_visual-studio-2015 6, anycodings_visual-studio-2015 ). I am currently trying to create with Visual anycodings_visual-studio-2015 Studio a C# application working with SQLite.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |