replace all <ConfigurationType>DynamicLibrary</ConfigurationType>
with <ConfigurationType>StaticLibrary</ConfigurationType>
in *.vcxproj
#define Py_NO_ENABLE_SHARED
#define MS_NO_COREDLL
``` in pyconfig.h
remove `Py_ENABLE_SHARED` in pythoncore.vcxproj
manual set MT and /Zl in all vcxproj.