> I am having trouble getting debug and release builds to work properly
> with project references using C++ .NET and Visual Studio 2003.
[quoted text clipped - 20 lines]
> version of a DLL for a debug build, and a release version for the
> release build?
Hi,
How did you add the reference?
Did you select the DLL by browsing to it, or did your use the 'projects' tab
in the references dialog?
Also, if you open build->configuration manager
you can see how the debug / release builds are configured.
It could be possible that your solution release config is set to use the
release project setting for one project and the debug setting for another.

Signature
Kind regards,
Bruno.
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"
Andrew Rowley - 01 Feb 2007 10:16 GMT
Bruno van Dooren [MVP VC++] <bruno_nos_pam_van_dooren@hotmail.com>
wrote:
>How did you add the reference?
>Did you select the DLL by browsing to it, or did your use the 'projects' tab
>in the references dialog?
I used the projects tab in the references dialog.
>Also, if you open build->configuration manager
>you can see how the debug / release builds are configured.
>It could be possible that your solution release config is set to use the
>release project setting for one project and the debug setting for another.
The release configuration is set to release for both projects, and the
debug configuration is set to debug for both projects.
See my reply to Jeffery - it might be happening only when I change
from one to the other, and seems to be a problem in either direction.
I suspect it has been happening to me for a long time, but went
unnoticed because there was always a debug and release dll there. I
think it only started causing me problems when I used strong names,
and ran into problems with mismatched version numbers.
Regards
Andrew Rowley
--
Andrew Rowley