我用这个系列ASP.NET上CQRS/ES工作:哪个软件包或程序集有ISession?
https://www.exceptionnotfound.net/real-world-cqrs-es-with-asp-net-and-redis-part-2-the-write-model/
我的问题是在某处,它使用的Isession的代码,我不知道什么是汇编/包都有它。文档基础我需要安装CQRSLite,但是当我尝试安装它时,出现错误。
private readonly ISession _session;
这是我收到的错误:
Could not install package 'CqrsLite 0.12.9'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
我使用Visual Studio 2015和.NET 4.5。
这是工程,它的参考项目中存在,我正在写它,它并没有任何地方参考。 – nik