I'm having an issue calling a method from a separate project within the same solution in VS2005. Am I just being dumb or am I missing something here?
Thanks.
I'm having an issue calling a method from a separate project within the same solution in VS2005. Am I just being dumb or am I missing something here?
Thanks.
Have you added a reference to the separate project to your current project?
Also check your access modifiers. The class containing the method you're trying to call needs to be declared public
.
If you don't specify an access modifier the class defaults to internal
which means it's only accessible to code in the same assembly.
(I'm assuming C#)