473,782 Members | 2,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

file references vs. project references for enterprise apps

Hello all.

I am part of a team about to start work on a large enterprise application.
There will be a main application and a bunch of smaller applications that
are all related and use the same database. All applications will be using
the same class libraries (of which we will probably have many for things
like data access, exception management, business objects, and many more).
Some of these class libraries will reference one another.

I am looking for advice on how to structure these projects. I keep hearing
project references recommended over file references, yet that would seem to
require one monolithic solution containing all projects. Aside from how slow
that would be, it seems inappropriate to have all developers able to see the
class libraries that are another team member's responsibility. So I thought
about using file references and having one project per solution. But if I go
that route, then it is unclear to me how I would let projects know about new
versions of other class libraries. The notion of manually removing and
re-adding file references regularly seems an unnecessary burden. Maybe I
should put a copy of all assemblies in a common network folder during a
nightly build and have all projects reference their dependencies from there?

Note that I'd like to avoid the GAC. I want these applications to be almost
xcopy distributable, and I have no qualms whatsoever about having 5 separate
copies of the same class library for 5 different applications. Disk space is
cheap! :)

Any advice on how you have structured your own large projects would be most
welcomed. Feel free to share any experiences, good or bad, with either file
or project references.

Thx,
AJ
Nov 19 '05 #1
0 1785

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

Similar topics

7
2783
by: Brian Sabolik | last post by:
I'm not sure if I've broken any Object Oriented rules or not, but ... I have projects in 2 different solutions that need to use each other's methods. Therefore I may have an "update" method in project 1-solution A accessing a "save" method in project 2-solution B as well as "getinfo" method in project 2 accessing a "read" method in project A. Is this permitted? I am getting the "dependency file in project cannot be copied... conflict...
3
4543
by: Daniel Billingsley | last post by:
Today I went to compile a solution I've been working on for months. I've been off most of the last few months, so there's been a gap in the work, but I did compile it a few times earlier this week. Today I get a message: Could not write to output file 'D:\DevelopmentProjects\Enterprise\CustomUtilities\obj\Debug\CustomUtilities ..dll' -- 'The process cannot access the file because it is being used by another process. '
4
962
by: Rick Csucsai | last post by:
Sad to say, i have developed several B2B web apps using ASP fo rnearly 5 years now and there is on area that i still don't have a grasp on. Why do you make references? Better yet, what happens if you don't. Here is an example. For some reason, I couldn't get my latest creation to send email. Would return something about a SendUsing config being bad. I go to MS site and use one of their demo codes. It says to create a new project and add a...
3
2199
by: Jerad Rose | last post by:
This is regarding Visual Studio 2003 (framework 1.1). We have several projects/libraries. Of course, many of these reference each other. If we only had one solution, we would simply add all of the libraries that we wish to debug to the solution, and make project references to the other projects within the solution. All other library references would be file references, since they were not included in the solution. However, the...
5
4472
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class libraries. We are having a path reference issue for the depending projects; if the build is started in another directory than that of the imported project. (It's a simple cannot find project xyz.csproj, build fails.) If we place the xml file in...
8
1909
by: aabdis | last post by:
Hello All.... I have a question... i have two Windows apps (one UI, and one service) which use a common DLL that hands out database results and such to the two apps. The DLL always connects to the DB the same way, regardless of which app calls it. So i wanted to store info in the config file for the DLL... only to find out it wont read that file at all. I am using VS2005. Searching online, i find that DLLs WILL NOT read their own...
3
9441
by: Ronald S. Cook | last post by:
I have a Win app that references a class library project. Within the latter, there is a remoting.config file. When I publish my app using ClickOnce, it errors telling me it can't find the remoting.config file. How do I get this thing to "go along" with the project? Of course, its impossible to see what ClickOnce actually copies to the client hard drive as is so cryptic and hidden from what I remember.
7
7158
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and Silverlight 2.0. To get these tools please visit this page Get Started : The Official Microsoft Silverlight Site and follow Step 1. Occasionally you find the need to have users upload multiple files at once. You could use multiple FileUpload...
0
9641
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
9480
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
10313
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
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6735
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
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
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
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.