How to structure directories for .vbproj's shared amonst several solutions?

I've got several programs that all use at least one Shared project (Shared.vbproj)

I'm trying to structure thier directories. I'm planning to use what's below. My goal is to be able to move the ROOT folder to another location and have everything still work.

Any downsides to this: (or a better way) ?

Can anyone point me to a resource describing this?

(I read up a bit on this in the MSDN, but the best example I found doesn't really describe how to organize the directories themselves)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/tdlg_ch3.asp



\Root (directory)
-Program1.sln (which contains Program1.vbproj and Shared.vbproj
-Program2.sln (which contains Program2.vbproj and Shared.vbproj

\Program1 (directory)
-Program1.vbproj
-Form1.vb (for Program1)

\Program2 (directory)
-Program2.vbproj
-<program2 files>

\Shared (directory)
-Shared.vbproj
-SharedStuff.vb
-MoreSharedStuff.vb



Any problems? Any suggestions of a better way to achieve "portability" (moving \root somewhere else) ?

Thanks!

Anon this time
Wednesday, September 20, 2006
[1830 byte] By [Mr.Analogy] at [2007-12-24]
# 1

I am assuming are you referring to just the source directories and not the execution directories?

Then this makes sense.

An alternative would be to put it all into one solution. This is useful if you ever need to debug it all together.

Hope this helps...

DeborahK at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2
Yes, that's the source directories. The compiled directories (

bin, \obj, etc.) would go where they normally go for each project.

So, I have the following:

\root

-program1.sln

-Program2.sln

\Program1

program1.vbproj

form1.vb

\bin

\Release

-Program1.exe

-Common.dll

\My Project

\Obj

\Program2

program2.vbproj

form1.vb

\bin

\Release

-Program2.exe

-Common.dll -Note VB.net compiles the referenced project files correctly.. yipee!

Mr.Analogy at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...