PC Review


Reply
Thread Tools Rate Thread

DLL Referencing...

 
 
=?Utf-8?B?ZmFoYWQ=?=
Guest
Posts: n/a
 
      20th Jul 2004
Hya, I am working on an application which is divided into many projects. All of the projects are are divided into two major portions...

- the persistance (all related projects in a same solution)
- the business (all related projects in a same solution)

If a project of persistance requires reference of another project located in persistance tier, I add reference using the PROJECTS tab.

Now the problem comes when I have to add a reference of project which is not a part of solution... I have to use the FILE reference. Now big big problems happens...

PROJECT_A uses PROJECT_B

I add reference of PROJECT_A in PROJECT_C
(as a result, it will copy both DLL's into the bin of PROJECT_C).

Now I also need to access PROJECT_B in PROJECT_C... I add file reference again...

Now problem occurs... for sure, if there is a version difference of PROJECT_B being used by PROJECT_A and PROJECT_C, the compiler gives warning that it cannot copy DLL blah blah... while building PROJECT_C.

Though I think I am unable to explain the problem properly, but still I expect an Excellent Answer! ... you know why?

eff-kay


-------------------
IMPORTANT: No trees were killed during the sending of this message but a large number of electrons were terribly inconvienced.
 
Reply With Quote
 
 
 
 
Chris Gallucci
Guest
Posts: n/a
 
      20th Jul 2004
If you're using C# you can change your projects' build location to a common
folder.
Select Project Properties->Configuration Properties->Build->Output Path

ChrisG


 
Reply With Quote
 
=?Utf-8?B?ZmFoYWQ=?=
Guest
Posts: n/a
 
      20th Jul 2004
But how can this resolve the said issue?

I mean A.DLL uses version 1.0 of B.DLL and C.DLL uses version 1.0.1 of B.DLL...

then how can multiple versions of B.DLL exist in BIN of C.DLL?

The apparent answer would be using GAC... but how?

Is there any way we can add some POST building steps removing previous version from GAC and adding the newly built.

Thanks in advance

eff_kay



-------------------
IMPORTANT: No trees were killed during the sending of this message but a large number of electrons were terribly inconvienced.


"Chris Gallucci" wrote:

> If you're using C# you can change your projects' build location to a common
> folder.
> Select Project Properties->Configuration Properties->Build->Output Path
>
> ChrisG
>
>
>

 
Reply With Quote
 
Chris Gallucci
Guest
Posts: n/a
 
      20th Jul 2004
Ah, sorry wrong explanation. I understand now what you're looking to do.

You'll need to review side-by-side versioning in the Help files. I have no
experience doing this but I know that is one of the features of .NET.

HTH,

ChrisG


 
Reply With Quote
 
=?Utf-8?B?ZmFoYWQ=?=
Guest
Posts: n/a
 
      21st Jul 2004
Hi

Okiee... and thanks for the help

And about side by side execution, yes I have got the idea - but I was asking, how can we add POST build steps in .NET studio... a step like removing previous version of DLL from GAC and registering the newly built one.

eff_kay

-------------------
IMPORTANT: No trees were killed during the sending of this message but a large number of electrons were terribly inconvienced.


"Chris Gallucci" wrote:

> Ah, sorry wrong explanation. I understand now what you're looking to do.
>
> You'll need to review side-by-side versioning in the Help files. I have no
> experience doing this but I know that is one of the features of .NET.
>
> HTH,
>
> ChrisG
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Referencing dates against Products, in order to find the Qty. Without using Column referencing dancook79@googlemail.com Microsoft Excel Discussion 1 26th Jan 2009 12:17 AM
referencing dao using vba x tomi3440@yahoo.com Microsoft Excel Programming 2 2nd Apr 2008 12:52 PM
referencing a different tab by referencing a list in the current s =?Utf-8?B?S2V2aW4=?= Microsoft Excel Worksheet Functions 3 6th Jul 2007 07:57 PM
referencing .tsp =?Utf-8?B?aGVscGZ1bHNxbA==?= Microsoft VB .NET 0 6th Jul 2005 06:38 PM
Help with referencing please clueless_05 Microsoft Excel Discussion 2 1st Jun 2005 02:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:37 PM.