diff --git a/PCbuild/find_msbuild.bat b/PCbuild/find_msbuild.bat
index 24f5e2fb5d4..57512a01927 100644
--- a/PCbuild/find_msbuild.bat
+++ b/PCbuild/find_msbuild.bat
@@ -57,3 +57,4 @@
@if not defined MSBUILD @echo Failed to find MSBuild
@set _Py_MSBuild_Source=
@if not defined MSBUILD @exit /b 1
+@exit /b 0
diff --git a/PCbuild/python3dll.vcxproj b/PCbuild/python3dll.vcxproj
index 0ef7780248f..d2a9cae5d91 100644
--- a/PCbuild/python3dll.vcxproj
+++ b/PCbuild/python3dll.vcxproj
@@ -142,8 +142,8 @@
<_Lines Include="@(_Symbols->'%(Symbol)')" />
-
+
+ Condition="@(_Lines) != @(_OriginalLines)" />
\ No newline at end of file