sqlite-net总是返回错误CannotOpen [英] sqlite-net always return error CannotOpen

查看:83
本文介绍了sqlite-net总是返回错误CannotOpen的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在C#Metro风格应用中使用SQLite。我已经为VS2012安装了扩展(SQLite for Windows Runtime)并添加了sqlite-net包以通过NuGet进行项目。但每当我尝试打开数据库时,它返回错误CannotOpen。任何想法?

I'm trying to use SQLite in C# Metro style app. I've installed extention for VS2012 (SQLite for Windows Runtime) and added sqlite-net package to project throught NuGet. But every time when I try to open database it return error CannotOpen. Any ideas?

推荐答案

发生错误时,您是否在Visual Studio输出窗口中获得更多详细信息?

您是否添加了VCLibs参考还是吗?
Do you get more details in the Visual Studio Output Window when the error occurs?
Did you add the VCLibs reference as well?


这篇关于sqlite-net总是返回错误CannotOpen的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆