diff --git a/PCbuild/find_msbuild.bat b/PCbuild/find_msbuild.bat
index 1364a17432ef1f..b20fc42125ca31 100644
--- a/PCbuild/find_msbuild.bat
+++ b/PCbuild/find_msbuild.bat
@@ -58,3 +58,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 0ef7780248fbc8..d2a9cae5d917f8 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