473,881 Members | 1,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

References to other projects in different solution

TEK
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.

What I'm wondering about is best practice when referring to the dll's that
is build by the framework solution.
The framework solution is organized like this:

<Framework solution>
BusinessFasade
ClientServices
Data
Resources
Framework

<UI solution>
ClientApp
Controls
UtilityApp

Where the framework is independent of any other projects. All other projects
are dependent upon Framework. BusinessFasade is also dependent on Data and
ClientServices.

The windows UI solution also has a simular buildup, where one project might
be dependent upon ClientServices, another one on BusinessFasacde and so on.
The UI is referring to the Framework solution.
The UI solution is referring to the <Framework solution> project by adding
references to the dlls. And right now we're acually adding references to the
debug\<dllname> .dll, something I expect will give very unwanted behaviour in
relase mode...

We're experience a lot of load issues. For example opening some forms that
uses some entities only work if everything is newly recompiled, or the
solution just opened. Otherwise it complains about different types, even if
the type name is exactly the same.

I suspect the issue is that dll is beeing referred to trough many different
ways, so that the same dll might exist in several versions, dependent upon
what project you buildt last.

Does anyone know techics for how this should best be solved, or literature
on the topic?
Do you for example have the references "CopyLocal = true" for all projects,
or just for the exe projects?
Do you copy all the dlls out to some shared area and the referring them from
that area in the other solution, or?

Any input on the topic would be very nice!

Best regarsd, Trond-Eirik
Jul 21 '05 #1
0 1650

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

Similar topics

7
2789
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
5898
by: SAM | last post by:
Hi everyone, I consider myself a very competent programmer when it comes to actual programming and analyzing the business that I'm modelling. I am now crossing into what I would consider Access admin/config territory, an area where I generally suck at. Here is my problem. I do all my programming on my laptop before giving
1
2118
by: Amos | last post by:
My Solution has three different projects: GUI, Api, Match. Project GUI includes a reference to Match.dll and Project Match includes a reference to Api.dll . Project Api doesn't include any references. Technically, GUI calls on classes/methods in Match, and Match calls on classes/methods in Api. Api doesn't include user-defined references. With Configuration Manager in "Release" (and all the projects in Release as well), when I rebuild...
0
1792
by: Adam J. Schaff | last post by:
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. ...
16
4000
by: Dave S | last post by:
Anyone know how to get round the problem of circular references in VB.NET (sorry I'm a .NET newbie). I create one project which has 2 classes in it, MyHandler and MyObject. MyHandler just needs to call another class in a different project and pass a parameter of type MyObject to it. So the class in the different project needs to import the first project namespace so it know what MyObject is. The MyHandler class needs to import the second...
0
775
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.
3
2203
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...
8
2177
by: Bruce | last post by:
I am using VB in Vs2005. Am I missing something or does VB not have the concept of "builds" (release/debug) like in VC? I wrote an assembly and I would like to have a debug version of the DLL and a release version of the DLL. I would like to create some sample code that demonstrates my assembly in VB and would like to have two builds, one using my debug version and the other using the release version of the assembly. How can I do...
3
2122
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our code, but this becomes problematic when you want to build from multiple branches/working directories. Any thoughts on this would be appreciated. Thanks
0
9930
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
11103
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
10720
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
10819
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,...
0
10403
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9555
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...
1
7953
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...
2
4196
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3225
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.