473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Two projects in one solution

I am playing around with building my own classes for use in multiple
projects. Some of my post I have made respondents suggested including my
project that creates a class with the main project. If anyone understands
what I am talking about can you expand on the benefits of this or why one
does that?

Or can someone point my in a spot to read more on multiple projects in a
solution?

Thanks
Nov 18 '05 #1
2 1685
If you are building classes that will be re-used again and again in various
projects, you are probably better off building and compiling those classes
into their own assembly and then just referencing that assembly from the
projects that use those classes.
"Brian Shannon" <bs******@lbrspec.com> wrote in message
news:ek**************@TK2MSFTNGP11.phx.gbl...
I am playing around with building my own classes for use in multiple
projects. Some of my post I have made respondents suggested including my
project that creates a class with the main project. If anyone understands
what I am talking about can you expand on the benefits of this or why one
does that?

Or can someone point my in a spot to read more on multiple projects in a
solution?

Thanks

Nov 18 '05 #2
The greatest value for me of having multiple projects in one solution is the
ease of debugging as you step in and out of the classes in the library
projects. I ordinarily create a library assembly containing classes that I
expect to use among multiple projects, and then create a Windows Forms
application as a testbed. The testbed solution contains the testbed
application and also the project containing the library classes. Stepping
through the code during debugging is easy since they're all running in the
same copy of the IDE.

Also, when you're using the library classes in a real application, it's
sometimes convenient to include the library project with the application
solution so that you can do more easily make enhancements or fixes in the
library classes. Often I'll find that it's useful to add an overloaded
constructor that I hadn't thought of, or I'll discover that the using code
in the application would be cleaner if I adjusted the library class
interfaces a little. It's really easy to do this if they're all together in
the same solution.

Tom Dacon
Dacon Software Consulting

"Brian Shannon" <bs******@lbrspec.com> wrote in message
news:ek**************@TK2MSFTNGP11.phx.gbl...
I am playing around with building my own classes for use in multiple
projects. Some of my post I have made respondents suggested including my
project that creates a class with the main project. If anyone understands
what I am talking about can you expand on the benefits of this or why one
does that?

Or can someone point my in a spot to read more on multiple projects in a
solution?

Thanks

Nov 18 '05 #3

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

Similar topics

0
by: TEK | last post by:
Hello We have a quite huge project. To limit the solution size, rebuild time and so on we have divided the project in two different solution. One solution that holds the buiness entities, or...
5
by: JSheble | last post by:
I don't know if this is the correct newsgroup, if not, please excuse me... When a project is part of a solution, is there anyway to just open the project, bypassing the solution? When I try to...
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
10
by: Conan | last post by:
Hi, I am having a problem with .Net / Visual Studio that I can't find the cause of. I have searched newsgroups and the web and find people with similar but different (I think) problems. Here's...
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
4
by: | last post by:
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...
1
by: =?Utf-8?B?RG91Zw==?= | last post by:
We have a very large code base and use the partitioned solution model for development and deployment. The problem is that in .NET 2005 the setup projects cause severe performance problems when...
3
by: Manikandan | last post by:
Hi, I'm copying projects from a solution in the vss. In my local system i created solution ,added that project(make modification related to solution) When i added this solution to vss, projects...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.