I ran into one very simple issue but not able to understand its cause. Here is the brief of issue.
I am referencing dll of one project say B into project A. referenced dll has 3 classes in all and I am able use methods in all classes into project A except methods in one class. When I try to use methods of that one particular class it gives run-time exception as "Method not found".
I tried all various common ways like using latest version of dll, rebuilding, cleaning solutions. Does anyone has any idea related to such issue?
Structure of that class
public static class Sample
{
public static bool Method1(string parameter1)
{
//Method's logic
return true;
}
}
Strange thing is that if I refer that dll in some other project of other solution it works good. I doubt if my solution has some issues.