Ref to proj DLL references GAC instead...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Ref to proj DLL references GAC instead...

  1. #1
    Join Date
    Jul 2007
    Posts
    3

    Ref to proj DLL references GAC instead...

    I have a DLL that gets called by a web service in production. To test it I just make another little windows app project, create a form that has a text box for entering the singular parm val that goes to the DLL and a button to invoke the method in the DLL.

    I create a project reference to the DLL and I confirm that the reference does indeed point to my local debuggable version of the DLL.

    When I invoke the method, the test app tries to load the DLL from the local GAC (\windows\assembly...\). Indeed, a non-debuggable version of the DLL exists in the GAC, however I cannot uninstall it as there are other app dependencies that preclude the un-installation of the DLL from the GAC.

    My question is: Why does the test app reference the GAC instead of the project reference version? Additionally, is there any way to determine what processes are referencing the GAC version of the DLL so that I can get rid of them and get rid of the GACed version of the DLL?

    Thanks in advance!

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Regitering dll in client GAC
    By pop244 in forum .NET
    Replies: 0
    Last Post: 10-15-2005, 08:02 AM
  2. Replies: 0
    Last Post: 06-12-2002, 11:59 AM
  3. Installing a new DLL into the GAC
    By Patrick Steele [MVP] in forum .NET
    Replies: 1
    Last Post: 05-30-2002, 12:34 PM
  4. DLL removing from references
    By Saajid in forum VB Classic
    Replies: 2
    Last Post: 04-26-2002, 02:22 PM
  5. Removing DLL references
    By Saajid in forum VB Classic
    Replies: 1
    Last Post: 04-25-2002, 05:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center