diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 9a096bc..0647cf8 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -94,9 +94,9 @@
           Inputs="$(PySourcePath)Include\patchlevel.h"
           Outputs="$(IntDir)pythonnt_rc.h">
     <WriteLinesToFile File="$(IntDir)pythonnt_rc.h" Overwrite="true" Encoding="ascii"
-                      Lines='/* This file created by pyproject.props /t:GeneratePythonNtRcH */
-#define FIELD3 $(Field3Value)
-#define MS_DLL_ID "$(SysWinVer)"
+                      Lines='/* This file created by pyproject.props /t:GeneratePythonNtRcH */;
+#define FIELD3 $(Field3Value);
+#define MS_DLL_ID "$(SysWinVer)";
 #define PYTHON_DLL_NAME "$(TargetName)$(TargetExt)"
 ' />
     <ItemGroup>
