|
-
Jun 24th, 2009, 12:07 PM
#1
Thread Starter
Member
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.
-
Jun 26th, 2009, 11:32 AM
#2
Thread Starter
Member
Re: Call methods from another internal project
No one knows...?
-
Jun 26th, 2009, 11:53 AM
#3
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
-
Jun 27th, 2009, 10:22 AM
#4
Thread Starter
Member
Re: Call methods from another internal project
 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|