B
Berryl Hesh
Goal:
Use an example project I found which illustrates use of design patterns that
facilitate unit testing, so I can incorporate these patterns into my own
projects. One pattern is built on NHibernate. The dll for nhibernate which
came with the project was version v1.1.4322, as the sample code is almost a
year old. The NHibernate dll I downloaded is v2.0.50727.
Problem(s):
* I could not get this one project of several to complile, so I started to
migrate the entire solution to a new solution using updated versions of the
dependent dlls, like NHibernate.This worked well for several dependent
projects I needed to compile and test prior to this one.
* After migrating this sub-project to my new solution builds fine, but when
I run a test that uses NHibernate, I get:
"Could not load file or assembly 'NHibernate, Version=1.2.0.4000,
Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its
dependencies. The located assembly's manifest definition does not match the
assembly reference."
How can I fix this??
Why is my test looking for v1.2 in the first place. The reference dll it's
built on s/n 2.0. I looked in the GAC but didn't see any NHibernate
assemblies there.
Thanks for any help! BH
Use an example project I found which illustrates use of design patterns that
facilitate unit testing, so I can incorporate these patterns into my own
projects. One pattern is built on NHibernate. The dll for nhibernate which
came with the project was version v1.1.4322, as the sample code is almost a
year old. The NHibernate dll I downloaded is v2.0.50727.
Problem(s):
* I could not get this one project of several to complile, so I started to
migrate the entire solution to a new solution using updated versions of the
dependent dlls, like NHibernate.This worked well for several dependent
projects I needed to compile and test prior to this one.
* After migrating this sub-project to my new solution builds fine, but when
I run a test that uses NHibernate, I get:
"Could not load file or assembly 'NHibernate, Version=1.2.0.4000,
Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its
dependencies. The located assembly's manifest definition does not match the
assembly reference."
How can I fix this??
Why is my test looking for v1.2 in the first place. The reference dll it's
built on s/n 2.0. I looked in the GAC but didn't see any NHibernate
assemblies there.
Thanks for any help! BH