problem: namespace not found when switching from Debug to Release

  • Thread starter Thread starter Boris Nienke
  • Start date Start date
B

Boris Nienke

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
 
Hi Boris, I have the same problem, but only with certain DLLs, not all
I'm using your same workaround..

by
Alberto
 
Back
Top