Peter,
In this case, you would just want to include the actual project in the
solution which contains the other project. This way, it will inherit all of
the project settings and you will run in the appropriate mode.
Otherwise, you will have to change the references each time, since you
won't be able to store the two dlls in the same directory.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Peter Steele" <ps*****@z-force.com> wrote in message
news:uz**************@TK2MSFTNGP10.phx.gbl...
I've written a C# DLL that I want to include in my other C# projects. What
I want to do is include the Debug version of the DLL when I am building
the other apps in debug mode and Release version of the DLL when I'm
building in release mode. This is quite easy to do in VC++ using various
macros that are available in the project file. I can't seem to do the same
thing when using a C# DLL in a C# project. Is there a way to do this?