We are using Visual Studio 2005. We use Native c++ for the core of our
work, and c# for our UI. In the middle there is a mix mode c++ dll.
This dll serves as a marshaler or middle tier between c# and the
native c++ code. This mix mode dll (server.dll) is linked into a
separate folder from the c# executable and the reference from c# has
the local copy set to true. Well, every time we debug our program the
server.dll file is never unloaded by Visual Studio and therefore it
has to be visual studio has to be restarted before we can recompile
again. It appears that Visual Studio is loading the dll twice from
the same location.
This is very annoying to say the least. Any suggestions?