Call methods from another internal project
I have two projects in one solution called proj1 and proj2.
proj2 is just a backend sort of thing, which is used to handle hidden stuff etc.
proj1 displays it all to the console, takes userinput etc...
now, say in proj1 i need to use one of the methods from proj2, how would i go about doing this?
I've tried creating a new instance (doesn't work...), and adding a service reference (no go...). Project dependencies won't work beacause right now, proj2 relies heavily on variables etc. from proj1.
any help would be appreciated. thank you.
Re: Call methods from another internal project
Re: Call methods from another internal project
what you have is a circular reference problem. What you might want to do is split this functionality out to a third project from which both projects can reference, and call the functions that way.
-tg
Re: Call methods from another internal project
Quote:
Originally Posted by
techgnome
what you have is a circular reference problem. What you might want to do is split this functionality out to a third project from which both projects can reference, and call the functions that way.
-tg
Worked like a charm, thanks very much. :)