Understanding references...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: VM (vonchi_m_at_yahoo.com)
Date: 06/24/04


Date: Thu, 24 Jun 2004 17:35:09 -0400

My solution has 4 projects, and two of those projects have a reference to a
ZM_Utilities project (a class library) that's part of the solution.
Whenever I compile to test, I "Build Solution", with Active Solution
Configuration = Debug (and everything underneath in Debug). The only time I
do a "Batch Build" is when I need to create a "Release" version of the Win
applications for the users to test.

In my ZM_Utilities.Utilities class, I added a new method but when I
recompile everything, the projects don't recognize the new method. So I went
to all directories and erased all copies of ZM_Utilities.dll because they
all had modification dates previous to the time I added the new methos..
When I compile again, one of the errors I get is: "Metadata file
'C:\Zipmaster7\Dev\ZMmatch\bin\Release\ZM_Utilities.dll' could not be
found".

Why is it looking for a a DLL in Release if everything I'm doing is in Debug
mode? And how can it automatically update all DLL copies in the Solution
dir. once I make a change to it? Even if I compiled that ZM_Utilities, the
date doesn't change. And when I erase it, it'll copy an older version of the
DLL (not the modified one).

Any help would be appreciated.



Relevant Pages

  • Re: Program does not invoke methods of ActiveX-DLL
    ... >> and defining a compatibility-dll has the effect that I cannot compile the ... >> declared in that dll. ... > reference DLLB if DLLB doesn't contain a reference to DLLA... ...
    (microsoft.public.vb.com)
  • Re: Where to place class file
    ... not sure but never heard about this automatic reference thing. ... copy local is true then the DLL is copied into the bin directory. ... Now When I compile it and place the dll in the bin and ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Where has WMSDefines Gone in SP2???????
    ... Are you able to compile fine? ... I get "Could not bind to dependency interop_msxml.dll" ... Microsoft.WindowsMediaServices.dll as a reference to my VS project. ... that is using the previous version of the mentioned DLL. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: How to export a class that inherits from unmanaged exception class
    ... Static linking means your application is self standing and doesn't depend on any non-system DLL. ... Debug or release version. ... In a VC++ project you can't successfully mix debug and release units -- you have to compile all your units with either debugging enabled or disabled uniformly. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Program does not invoke methods of ActiveX-DLL
    ... load and compile one thing at a time. ... > declared in that dll. ... If you have a dll called DLLA and another called DLLB, ... reference DLLB if DLLB doesn't contain a reference to DLLA... ...
    (microsoft.public.vb.com)