473,960 Members | 1,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1724
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******@lbrsp ec.com> wrote in message
news:ek******** ******@TK2MSFTN GP11.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******@lbrsp ec.com> wrote in message
news:ek******** ******@TK2MSFTN GP11.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
1656
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 mapping and stuff like that. One solution that holds the application, windows controls and stuff like that.
5
1302
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 open a project, it always opens the whole solution, which is fine is some cases, but in others where there are 3-4 projects in a solution, I'd much rather just deal with the single project. I supposed I can create a new solution, then add an...
16
2275
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. So I've adopted the approach of having two projects share the same set of files. In my case, I have two similarly named projects: DataObjects DataObjectsCF The former is for the Desktop app and the latter is for the Compact Framework.
3
1963
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 appears that the project files get created in the URL specified Location field on the New Project dialog box. This makes sense to me. What is confusing is that the solution file gets created in a folder with the same name as the location folder (the...
10
1806
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 the issue and some of what I've found out - I really hope it's familiar to someone and there's an answer! I have a solution with about a dozen projects, including 2 asp.net web applications and 1 asp.net web service project. Having migrated to...
0
1609
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 haywire and the best solution was to blow away everything on the build server related to this solution (both filebase and virtual directories hanging off the default website). I recreated the shell of our solution's web projects...
1
2001
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 referenced all the other class library projects (i.e. so that it used the dll created when those other projects were built). The debug solution was configured so that all the projects in it had debug
4
1242
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 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...
1
1987
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 working with the master build solution in the .NET IDE. Currently we have about 300 projects with another 150+ going to production in the coming months. The build server we use is a Windows 2003 server with quad Intel Xeon processors and 2GB...
3
2168
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 are referred to the original solution not from my new solution I will explain more clearly i have project folder in vss(v4.5) v4.5(folder) project1(project)
0
10283
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
10111
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11351
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...
1
11497
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
8398
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6335
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
6481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
5090
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
3
3695
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.