Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

How many projects in a Visual Studio Solution ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Romain TAILLANDIER - 28 Mar 2008 11:02 GMT
Hello group,

Most of my solutions have between 1 and 5 projects.
I have a solution with about 35 projects (and still growing).

How many project have you in your solutions ?
What are the problems (and solutions) you encounter with big
solutions ?

Thank you.
Romain TAILLANDIER
Jon Skeet [C# MVP] - 28 Mar 2008 11:14 GMT
> Most of my solutions have between 1 and 5 projects.
> I have a solution with about 35 projects (and still growing).

How big are those projects?

> How many project have you in your solutions ?
> What are the problems (and solutions) you encounter with big
> solutions ?

I just find it annoying if I have to deal with 20 projects each of
which consists of a single file.

I'm comfortable with up to about 10  projects - after that it becomes a
bit painful. ReSharper helps due to its ability to find types easily,
admittedly.

Of course, it all depends on the application...

Signature

Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk

Romain TAILLANDIER - 31 Mar 2008 16:46 GMT
Jon,

This 36 project solution is a 9 month (and growing) full time project
for me.
It a big program, with a system of pluggin, it come on PC and WinCE
Devices.

Most of sources files of the device are common with PC files, and are
cross compiled.

DEVICES
I have 4 projects (respectively about 30, 5, 1, 1 .cs files)  for the
standard device part.
I have 3 other projects (with about 5 .cs files each) for Devices
pluggins.
I have 3 more projects for specific devices which few overrides
precedent files.

PC
I have 7 projects (respectively about 50, 12, 5, 5, 5, 1,1)
I have 5 other projects (with about 5 .cs files each) for PC Pluggins

OBFUSCATION
I have 2 obfuscation project (one for Pc, one for Devices)

INSTALLATION
I have 1 install MSI Project
I have 4 one cs file project to mae after install actions.
I have 6 CAB for devices programs and pluggins.
I have a few more other project for install pluggins.

it make something like 40k lines of code (estimation)

In my opinion,
- i can't group any project in one (i have allready grouped anything
that can be)
- i can't make a (some) new separated solution for pluggins (that
would be great !), because of obfuscation problems caused by my
pluggin system.

I there anyone here who have as big solution as this one ?
Have you got tricks for dealing with this ?

Romain TAILALNDIER.

> > Most of my solutions have between 1 and 5 projects.
> > I have a solution with about 35 projects (and still growing).
[quoted text clipped - 17 lines]
> Jon Skeet - <sk...@pobox.com>http://www.pobox.com/~skeet  Blog:http://www.msmvps.com/jon.skeet
> World class .NET training in the UK:http://iterativetraining.co.uk
Jon Skeet [C# MVP] - 31 Mar 2008 16:58 GMT
> This 36 project solution is a 9 month (and growing) full time project
> for me.
[quoted text clipped - 3 lines]
> Most of sources files of the device are common with PC files, and are
> cross compiled.

<snip>

> I there anyone here who have as big solution as this one ?
> Have you got tricks for dealing with this ?

Well, do you really need the obfuscation and installation projects in
the same solution as the others? Saving 13 projects could make a
significant difference...

Signature

Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk

Romain TAILLANDIER - 31 Mar 2008 17:41 GMT
Yes, i think about it for a while too. but I am not sure.
I am quite sure i also can separate the pluggin from the main
solution, using the obfuscation map (output of obfuscation), but i
will have to make a new obfusctaion project for each plugins. and I am
not sure that il will work.

When time would come, after releasing the current version, i think i
would try that. Thank for the help

I know you are a device MVP. Have you got help for cross compiling ?
I have no problem with that generally, but sometimes ...
Since i have a lot of project, i do not compile all at each time. So
when work on PC, i do not compile on device, and vice versa. When go
back to compile for the other plateform, it does not compile anymore.
And when it appends (very occasionally) i don't know how to correct
the source because it should be the same, and i use no plateform
specific code, and there is no visible reason to not compile (of
course it should be have one i can't see). Any idea ?

I remark that i have to close the common files and reopen, when they
have #if (just a few F... files, where i am not be able to remove the
#if)
Sometimes i clean up the project, sometimes, i restart visual studio.
I am note sure what action help or not. it seems not reproductible.
Just that : sometimes it happends !

Thank you
Romain TAILLANDIER

> > This 36 project solution is a 9 month (and growing) full time project
> > for me.
[quoted text clipped - 16 lines]
> Jon Skeet - <sk...@pobox.com>http://www.pobox.com/~skeet  Blog:http://www.msmvps.com/jon.skeet
> World class .NET training in the UK:http://iterativetraining.co.uk
Jon Skeet [C# MVP] - 31 Mar 2008 18:26 GMT
> Yes, i think about it for a while too. but I am not sure.
> I am quite sure i also can separate the pluggin from the main
[quoted text clipped - 6 lines]
>
> I know you are a device MVP. Have you got help for cross compiling ?

I'm afraid I'm not - I'm just C#. I did some Compact Framework work a
long time ago, but haven't touched it for ages. Probably worth asking
in the CF group.

> I have no problem with that generally, but sometimes ...
> Since i have a lot of project, i do not compile all at each time. So
[quoted text clipped - 4 lines]
> specific code, and there is no visible reason to not compile (of
> course it should be have one i can't see). Any idea ?

Sounds very odd...

Signature

Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.