There are a number of posts relating to Iesi.Collections on this forum. I have tried to look for an answer to my problem but have not been able to find a solution.

I am new to both nHibernate and Iesi.Collections.

I have a client Assembly and a Server assembly. After the client is started up the application starts up the server and attempts to create an instance of nhibernate.cfg.configuration.

At this point I get an error (System.IO.FilenotFoundException). This has been reproduced below verbatim

"Could not load file or assembly 'Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The system cannot find the file specified."

However the Iesi.Collections.dll is referenced in both the Client and Server Assembly. I have checked up on that.

What am I missing?

Are there some other Dlls that I need to reference? Any other dependencies for Iesi.Collections?

Can someone please help.

Thanks in advance

Romi

有帮助吗?

解决方案

You have to copy the Iesi.Collections.dll into your bin directory. Normally you can find the dll in with the downloaded NHibernate binaries.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top