Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Assembly Referencing Question

Reply
Thread Tools

Assembly Referencing Question

 
 
Jason MacKenzie
Guest
Posts: n/a
 
      11-23-2004
We are clearly going about this the wrong way so before we get too far I
would like some advice.

We have all common assemblies like our page base class etc located on our
Dev server.

We reference them in all our applications with Copy Local set to trued

We then publish them to the production server for example so each asp.net
app has a copy of the common assembly in the bin directory.

This is of course leaving us with the problem of having to replace the
assembly in every bin directory when a change is made.

What is the best practice to avoid this issue?

Thanks a million,

Jason MacKenzie


 
Reply With Quote
 
 
 
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      11-23-2004
Hi Jason,

I'd say the easiest solution is to strong name the assemblies and put them
into the GAC where ever app would find them. You could probably call the
gacutil with a batch file to make the process efficient:

http://msdn.microsoft.com/library/de...cutil_exe_.asp

Ken

"Jason MacKenzie" <> wrote in message
news:Oy5Z%...
> We are clearly going about this the wrong way so before we get too far I
> would like some advice.
>
> We have all common assemblies like our page base class etc located on our
> Dev server.
>
> We reference them in all our applications with Copy Local set to trued
>
> We then publish them to the production server for example so each asp.net
> app has a copy of the common assembly in the bin directory.
>
> This is of course leaving us with the problem of having to replace the
> assembly in every bin directory when a change is made.
>
> What is the best practice to avoid this issue?
>
> Thanks a million,
>
> Jason MacKenzie
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 assembly in GAC Rod Snyder ASP .Net 3 12-29-2004 03:03 PM
Referencing Assembly Question Without GAC? =?Utf-8?B?TWlrZQ==?= ASP .Net 12 12-02-2004 04:59 AM
referencing an assembly in subdirectories Stefan Rosi ASP .Net 0 06-04-2004 01:59 PM
Referencing assembly from GAC using @assembly fails Brent ASP .Net 1 01-23-2004 08:23 PM
referencing assembly from aspx page Jeremy Chapman ASP .Net 1 08-01-2003 03:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57