problem: namespace not found when switching from Debug to Release

From: Boris Nienke (nospam_at_nsonic.de)
Date: 02/20/04


Date: Fri, 20 Feb 2004 14:52:11 +0100

Hi,

strange problem here - sorry, but i don't know all the english terms
because i have a german version - i try to describe it:

- my project is in debug state
- i've added a "reference" to a DLL (assembly?)
- i've added the namespace of the DLL to the using-clause
- now i can work the classes, compile, debug - no problems

- now i've switched to release state
- when i try to compile now i get some errors that the class is unknown or
the namespace is not specified
- i can fix this by removing the "reference" (delete in the project-tree)
and adding it again! Then i can compile etc...

Now it happens everytime i open the project. I have to delete the reference
and add it again to be able to work with it.

The DLL is laying in the directory together with the projectfiles
(solution, project, c#-files etc.)

\VSS-Projects\
   \MyProjekt\
      - solution-file
      - project-file
      - all c# files
      - some other stuff for VSS
 
      - The DLL/Assembly

Why? What's wrong here?

Boris



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: 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)
  • Re: VB.NET 2002 IDE Failing to update local dependencies
    ... Remove the reference to the old DLL ... Attempt to save and compile ... > Hi Nick, ...
    (microsoft.public.dotnet.languages.vb)