views:

69

answers:

2

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.

+2  A: 

Have you added a reference to the separate project to your current project?

bdukes
+1  A: 

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#)

Matt