Search code examples
visual-studioc#-4.0dllreferencesolution

Referencing class library (.dll) from the same VS (2010) solution


recently I have experienced a problem which is really strange. I have a c# VS solution which contains 2 projects: a class library (.dll) and a WindowsForms. I had no issues so far to reference the dll from my WinForms applications. However, now, after I reference it, everything works fine, in terms that while writign code the dll assemblies are recognised, until I try to compile and debug, where the dll is not recognised any more, though it is referenced.

Any help would be apprecited.

Regards, D.

PS. I have tried both referencing the project and dll...Does that mean that the problem is at the dll?


Solution

  • do you have correct .net target on both sides ? .net client profile / full .net