直接在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:\CodeForGitBlit\YunClient\packages'Added package 'EntityFramework.6.0.0' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'EntityFramework.6.0.0' to 'packages.config'Executing script file 'F:\CodeForGitBlit\YunClient\packages\EntityFramework.6.0.0\tools\install.ps1'Type 'get-help EntityFramework' to see all available Entity Framework commands.
Successfully installed 'EntityFramework 6.0.0' to ClientAppAdding package 'System.Data.SQLite.Core.1.0.103' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.Core.1.0.103' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.Core.1.0.103' to 'packages.config'Successfully installed 'System.Data.SQLite.Core 1.0.103' to ClientAppAdding package 'System.Data.SQLite.EF6.1.0.103' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.EF6.1.0.103' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.EF6.1.0.103' to 'packages.config'Executing script file 'F:\CodeForGitBlit\YunClient\packages\System.Data.SQLite.EF6.1.0.103\tools\net451\install.ps1'Successfully installed 'System.Data.SQLite.EF6 1.0.103' to ClientAppAdding package 'System.Data.SQLite.Linq.1.0.103' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.Linq.1.0.103' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.Linq.1.0.103' to 'packages.config'Successfully installed 'System.Data.SQLite.Linq 1.0.103' to ClientAppAdding 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:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.1.0.103' to folder 'F:\CodeForGitBlit\YunClient\packages'Added package 'System.Data.SQLite.1.0.103' to 'packages.config'Successfully installed 'System.Data.SQLite 1.0.103' to ClientApp
4个红色的都是依赖项