我已将来自 Github 的 Hangfire 源代码导入到我现有的 VS 2013 解决方案中。当我尝试在我的解决方案中构建所有项目时,我收到了几个错误:
Error 6 The type or namespace name 'Dapper' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Jerry_Dev\Documents\GitHub\Hangfire\src\Hangfire.SqlServer\SqlServerDistributedLock.cs 20 7 Hangfire.SqlServer
在包管理器中,当我这样做时:“Install-Package Dapper”,它说
'Dapper 1.38' already installed.
Hangfire.SqlServer already has a reference to 'Dapper 1.38'.
我在我的项目中看到Dapper dot net
安装在我的Manage Nuget Packages
窗口中Hangfire.SqlServer