Will SQLite Work in a ClickOnce Deployment?

泄露秘密 提交于 2020-01-01 15:05:00

问题


And if it will, what is the best practice in terms of connection strings? Just a relative path? |DataDirectory| ?


回答1:


SQ Lite should work just fine in a ClickOnce scenario. It's a zero configuration components. Components which require configuration usually have issues with click once.

http://www.sqlite.org/




回答2:


I don't know about SQLite, but yes: I believe you'd want to use |DataDirectory| with ClickOnce, since that points to the area in the user's profile where the app's data/settings can be stored.



来源:https://stackoverflow.com/questions/532251/will-sqlite-work-in-a-clickonce-deployment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!