在一个解决方案中,我SQLiteDatabaseScope
正确引用,没有错误。在另一个解决方案中,我感到沮丧,因为我无法使用nuget或在解决方案的一个硬盘位置显式引用dll来引用此dll。
using System.Data.SQLite;
SQLiteDatabaseScope DbScope; // the type or namespace could not be found
任何想法?
答案 0 :(得分:1)
SQLiteDatabaseScope
不是 the SQLite adapter的一部分,而是from basicallyeverything或其他来源。
确保引用正确的程序集(来自“basiceverything”)或项目中包含相应的类源文件。
请记住,程序集名称和命名空间不需要在.NET中对齐 - 它们只是一个非常精确的。