Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 LiteDB 创建 db 文件。但有时我使用 LiteDB 版本 1,有时使用 v4。使用任何版本我正在创建相同的文件。那么如何检测使用哪个版本的 LiteDB 在 C# 代码中创建 db 文件呢?注意:我不想要数据库文件的用户版本。提前致谢。
看起来您有多个版本的 LiteDB 作为您项目的参考,不是吗?你是如何实例化 LiteDB 对象的?
检查您是否没有多个版本作为项目的参考,向我们展示您的项目参考以及您使用 LiteDB 的地方,这可能会有所帮助。