如何让 NHibernate 流畅地与 NHibernate 3.x 一起使用
如何让 Fluent NHibernate 与最新的 NHibernate 3.x 主干一起工作
我得到以下异常:
Could not load file or assembly 'NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies.
编辑:
此异常发生在 FluentNhibernate 文件 PersistanceConfiguration
public TThisConfiguration Cache(Action<CacheSettingsBuilder> cacheExpression)
{
cacheExpression(cache);
return (TThisConfiguration)this;
}
不明白,FluentNHibernate 是针对 NH 3.x 编译得很好
How to get Fluent NHibernate working with latest NHibernate 3.x trunk
I got the following Exception :
Could not load file or assembly 'NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies.
EDIT :
This exception occurs in FluentNhibernate file PersistanceConfiguration
public TThisConfiguration Cache(Action<CacheSettingsBuilder> cacheExpression)
{
cacheExpression(cache);
return (TThisConfiguration)this;
}
Don't understand, FluentNHibernate is well compiled against NH 3.x
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
FluentNHibernate 下载页面 具有 NHibernate 3.0 和 2.1.2 的稳定预发行版(1.2 版之前)二进制文件
The FluentNHibernate download page has stable pre-release (pre 1.2) binaries for NHibernate 3.0 and 2.1.2
Fluent 刚刚发布了预发布二进制文件 (v1.2 ) 与 NH3 支持。无需重新编译其源代码。
Fluent just posted pre-release binaries (v1.2) with NH3 support. No need to recompile its sources.
我会从github上获取它:
https://github.com/dagda1/horn_src
这将包括所有依赖项也是如此,因此您无需费力编译所有项目及其依赖项:)
I'd grab it from github:
https://github.com/dagda1/horn_src
this will include all of the dependancies also so you don't need to mess about with compiling all the projects and their dependancies :)