你好 i我试图用sqlite数据库和目标框架4.5.2部署一个wpf应用程序,当我安装应用程序时我的机器工作(我开发应用程序的同一台机器) ) 但是当我在其他设备上安装应用程序时它无法工作。 i搜索同样的问题很多人有同样的问题,我尝试了他们的解决方案不是为我工作。 i附上sqlite dll和数据库文件,但没有变化。 i将它安装在具有所有dll和framework的pc中,但它不起作用我想它的与sqlite相关的东西 可以任意一个吗? 我试过的: oneclick使用VS 2015发布 vs visual studio 2015中的安装程序
hello i am trying to deploy a wpf application with sqlite database and target framework 4.5.2, when i install the application its work ion my machine (the same machine i develop the application on) but when i install the application on another devices its not working. i search a lot for the same issue many people have the same problem, i tried their solution its not working for me. i attach the sqlite dll and the database file but no change. i install it in pc that has all dlls and framework but its not working i think its something related to the sqlite can any one make this possible? What I have tried: oneclick publish using VS 2015 vs installer in visual studio 2015
推荐答案您需要手动将 SQLite.Interop.dll 文件和文件夹添加到解决方案的主项目中以获取类型的bu你正在使用的ild。当您准备发布时,请检查并告知安装人员将其包含在内。您可以在 packages \System.Data.SQLite.Core.1.0.106.0 \ build 解决方案文件夹中找到文件和文件夹。 You need to manually add the SQLite.Interop.dll file and folder to your solution's main project for the type of build that you are using. When you are ready to publish, check and tell your installer to include them. You can find the file and folders in the packages\System.Data.SQLite.Core.1.0.106.0\build solution folder.
请检查Windows事件日志,因为可以有更多关于错误原因的信息... 它可以在事件查看器中找到,特别是应用程序日志和系统日志可能有帮助.. 。 干杯, Please check windows event log, as there can be more info about the cause of errors... It can be found in Event Viewer, in particular Application Log and System Log might help ... Cheers,
更多推荐
使用sqlite数据库部署WPF应用程序
发布评论