Issue 1476: missing debug configuration for make_versioninfo.vcproj (original) (raw)

Revision: 59073

make_versioninfo.vcproj is missing the debug configuration. As a result, if you try to build python in debug, you will receive an error during compile in python_nt.rc, due to this block:

#define MS_WINDOWS #include "modsupport.h" #include "patchlevel.h" #ifdef _DEBUG

include "pythonnt_rc_d.h"

#else

include "pythonnt_rc.h"

#endif

This is because the file pythonnt_rc_d.h is never created. The attached patch should resolve this.

Whoops, looks like I missed the solution, which is also needed for the patch. Here's the correct version. Do the following to test: