VS2005 - calling a method from a separate project? (Same solution)

I am having a problem calling a method from a separate project within the same solution in VS2005. Am I just dumb or am I missing something?

Thanks.

0


a source to share


2 answers


Have you added a link to a separate project to your current project?



+2


a source


Also check the access modifiers. The class containing the method you are trying to call must be declared public

.

If you do not specify an access modifier, by default the class internal

means that it is only available to code in the same assembly.



(I'm assuming C #)

+1


a source







All Articles