projects, binaries, and user controls

G

Guest

I'm going to ask the really short version of a rambing scenario I posted in
Feb.: http://tinyurl.com/2nx4k7

The short version:
a) A VS.NET solution can comprise many projects. If you're working in a
project and you build, will it build just the project or the whole solution?
b) Can binaries can be shared across multiple projects in the same solution?
c) Can code/classes be shared across multiple projects in the same solution?
d) Can ASP.NET user controls be shared across multiple projects in the same
solution?
e) My goal is to speed compile times. Will splitting a solution into
projects have the desired effect?
f) I have an existing collection of applications in one huge solution/one
project. If there is benefit I could split them out to projects. Can you
think of any other subtle "gotchas" to watch out for?
g) [unrelated] My boss has approved a new machine for purchase. I'm guessing
a 64 bit processor would help compile times a lot. Any suggestions on
processor/machines to be released anytime between now and EOY 2007?

Thanks,
-KF
 
G

Guest

I'm going to ask the really short version of a rambing scenario I posted in
Feb.:http://tinyurl.com/2nx4k7

The short version:
a) A VS.NET solution can comprise many projects. If you're working in a
project and you build, will it build just the project or the whole solution?

Go to Build menu, you'll see that you can either build solution or
project

The keyboard shortcut to build the whole solution is Ctrl+Shift+B

b) Can binaries can be shared across multiple projects in the same solution?

References - Add New Reference - Project

c) Can code/classes be shared across multiple projects in the same solution?

See above, #b

d) Can ASP.NET user controls be shared across multiple projects in the same
solution?

Not for the ascx. You may consider e.g. a Web Control Libraries...

e) My goal is to speed compile times. Will splitting a solution into
projects have the desired effect?

You can compile just one project.

f) I have an existing collection of applications in one huge solution/one
project. If there is benefit I could split them out to projects. Can you
think of any other subtle "gotchas" to watch out for?
g) [unrelated] My boss has approved a new machine for purchase. I'm guessing
a 64 bit processor would help compile times a lot. Any suggestions on
processor/machines to be released anytime between now and EOY 2007?

Thanks,
-KF
 
G

Guest

Thanks so much, Alexey. Very helpful. One other question: is there an easy
way to exclude directories from the build process?

Thanks.

Ken Fine
http://ideapod.com

Anon User said:
I'm going to ask the really short version of a rambing scenario I posted
in
Feb.:http://tinyurl.com/2nx4k7

The short version:
a) A VS.NET solution can comprise many projects. If you're working in a
project and you build, will it build just the project or the whole
solution?

Go to Build menu, you'll see that you can either build solution or
project

The keyboard shortcut to build the whole solution is Ctrl+Shift+B

b) Can binaries can be shared across multiple projects in the same
solution?

References - Add New Reference - Project

c) Can code/classes be shared across multiple projects in the same
solution?

See above, #b

d) Can ASP.NET user controls be shared across multiple projects in the
same
solution?

Not for the ascx. You may consider e.g. a Web Control Libraries...

e) My goal is to speed compile times. Will splitting a solution into
projects have the desired effect?

You can compile just one project.

f) I have an existing collection of applications in one huge solution/one
project. If there is benefit I could split them out to projects. Can you
think of any other subtle "gotchas" to watch out for?
g) [unrelated] My boss has approved a new machine for purchase. I'm
guessing
a 64 bit processor would help compile times a lot. Any suggestions on
processor/machines to be released anytime between now and EOY 2007?

Thanks,
-KF
 
G

Guest

Thanks so much, Alexey. Very helpful. One other question: is there an easy
way to exclude directories from the build process?

What directories, with a static content? In Solution Explorer, right-
click the directory, and click Exclude From Project (or on the Project
menu, select Exclude From Project). All this information you can also
find in the Help section. On the Help menu, select Search, type
"exclude directories".

Result:

How to: Remove, Delete, and Exclude Items
How To: Build all Files in a Directory Except One
etc...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top