通过NuGet获取sqlite对应的.net的dll

https://www.nuget.org/packages/System.Data.SQLite/

直接在Package Manager Console中执行命令,会自动安装依赖项的

Install-Package System.Data.SQLite

安装完成之后,一共安装4个dll

Attempting to gather dependency information for package 'System.Data.SQLite.1.0.103' with respect to project 'ClientApp', targeting '.NETFramework,Version=v4.5.2'
Attempting to resolve dependencies for package 'System.Data.SQLite.1.0.103' with DependencyBehavior 'Lowest'
Resolving actions to install package 'System.Data.SQLite.1.0.103'
Resolved actions to install package 'System.Data.SQLite.1.0.103'
Adding package 'EntityFramework.6.0.0' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'EntityFramework.6.0.0' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'EntityFramework.6.0.0' to 'packages.config'
Executing script file 'F:CodeForGitBlitYunClientpackagesEntityFramework.6.0.0 oolsinstall.ps1'

Type 'get-help EntityFramework' to see all available Entity Framework commands.
Successfully installed 'EntityFramework 6.0.0' to ClientApp
Adding package 'System.Data.SQLite.Core.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.Core.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.Core.1.0.103' to 'packages.config'
Successfully installed 'System.Data.SQLite.Core 1.0.103' to ClientApp
Adding package 'System.Data.SQLite.EF6.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.EF6.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.EF6.1.0.103' to 'packages.config'
Executing script file 'F:CodeForGitBlitYunClientpackagesSystem.Data.SQLite.EF6.1.0.103 ools et451install.ps1'
Successfully installed 'System.Data.SQLite.EF6 1.0.103' to ClientApp
Adding package 'System.Data.SQLite.Linq.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.Linq.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.Linq.1.0.103' to 'packages.config'
Successfully installed 'System.Data.SQLite.Linq 1.0.103' to ClientApp
Adding package 'System.Data.SQLite.1.0.103', which only has dependencies, to project 'ClientApp'.
Adding package 'System.Data.SQLite.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.1.0.103' to folder 'F:CodeForGitBlitYunClientpackages'
Added package 'System.Data.SQLite.1.0.103' to 'packages.config'
Successfully installed 'System.Data.SQLite 1.0.103' to ClientApp

4个红色的都是依赖项

原文地址:https://www.cnblogs.com/chucklu/p/5895464.html