diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 93dbc0983bf..d2874017efa 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -323,9 +323,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
their Makefile (other compilers are generally
taken care of by distutils.) */
# ifdef _DEBUG
-# pragma comment(lib,"python26_d.lib")
+# pragma comment(lib,"python27_d.lib")
# else
-# pragma comment(lib,"python26.lib")
+# pragma comment(lib,"python27.lib")
# endif /* _DEBUG */
# endif /* _MSC_VER */
# endif /* Py_BUILD_CORE */
diff --git a/PCbuild/pyproject.vsprops b/PCbuild/pyproject.vsprops
index fb313d21272..cc787c95626 100644
--- a/PCbuild/pyproject.vsprops
+++ b/PCbuild/pyproject.vsprops
@@ -38,7 +38,7 @@
/>