Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

I have a large visual basic distributed application with 25 projects. How can I open one of these projects without losing my references and still use project-to-project references in the 'main' etp ?

 

 

Thanks

  • *Experts*
Posted

If I understand your question, you have one solution file with 25 projects and there are many project references between projects. And you'd like to open just one of the project which currently has project references but be able to open and run it without actually opening the full solution (and all 25 projects)?

 

There is no way that I know of if you use the same project file. The project stores the references. That means they must be Project OR File, but not either/or.

 

I haven't tried this, but you should be able to create a second project file that uses the same source files (maybe a different project name?), one has file references and one has project references. I don't know if that will work or not and you might have to play around a lot.

 

What we've done is to use project references for only 2 or 3 projects when needed (for debugging to be able to walk through a referenced project). At some point you should be able to compile 24 of your projects into DLLs and use those references. By "some point" I mean when the referenced projects are stable enough that you don't need the ability to step into them.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...