Reputation: 2009
I have just started my project but have run into problems which is preventing me from working.
The error is:
The type or namespace name 'NHibernateImportLib' could not be found (are you missing a using directive or an assembly reference?)
Now, if i set 'Copy Local' to False for the NHibernate reference in 'NHibernateImportLib' it build but later i have to copy my NHibernate dll to my output directory for the application to work properly.
What is going on here?
Upvotes: 0
Views: 499
Reputation: 9312
Is the assembly added to GAC
? It might be possible that on your deployment target machine this assembly is not present in GAC
and hence it works only when you copy it into the local directory.
Upvotes: 0