473,804 Members | 3,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

projects, binaries, and user controls

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
Mar 16 '07 #1
4 1235
On Mar 16, 7:53 pm, <kenf...@nospam .nospamwrote:
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

Mar 17 '07 #2
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

"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
On Mar 16, 7:53 pm, <kenf...@nospam .nospamwrote:
>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


Mar 17 '07 #3

More see here!

http://www.flash50.com/index.php
Mar 18 '07 #4
On Mar 17, 9:30 pm, <kenf...@nospam .nospamwrote:
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...

Mar 18 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1666
by: Brian Henry | last post by:
Is it possible to create web users controls which can actively be used on multiple projects? similarly to how a winforms user control can be used in multiple project when referenced. What I want to do is create user controls that contain the templates for my projects but i want to be able to simotaniously update the templates across the sites at once (all located on the same domain) so then i could have just one copy of the user controls...
5
5098
by: Raed Sawalha | last post by:
We have a web application with at least 570 Pages and 10's of user controls ....all under project name LinkDevProject ...recently we start separating the project into multiple projects ....the problem we have in user controls how to share them without duplicate the control in each project ....we need to remain the controls in main project and all subproject use them .....what is the avaiable technique to achieve this?
7
3172
by: crowl | last post by:
VS.2003, .NET Framework 1.1, C# My goal: Creating a dll (helper.dll) which contains some UserControls and some other helpful classes in order to use it in other projects. Symtoms: The inital use of the UserControl component works. However, if the Helper Project is recompiled, the UserControl does not work
0
1067
by: | last post by:
I'm come from a self-taught ASP/Dreamweaver background and over the last year have used VS.NET/ASP.NET/C# more and more to the point that it is my primary development environment now. VS.NET is an amazing tool but I think that my use of it is suboptimum. I work on one "main" website but there are many logical divisons within that website: one app does one thing, one thing does another. In VS.NET, Right now I have everything lumped...
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10588
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5662
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.