https://github.com/python/cpython/commit/95b80084a9900abff82f7e0d4615de1086b3b6d7
commit: 95b80084a9900abff82f7e0d4615de1086b3b6d7
branch: 3.11
author: Miss Islington (bot) <[email protected]>
committer: pablogsal <[email protected]>
date: 2026-10-25T11:15:52-07:00
summary:

[3.11] Adds support for building with VisualStudioVersion = 18.0 (GH-138980) 
(#160654)

Adds support for building with VisualStudioVersion = 18.0 (GH-138980)
(cherry picked from commit 6920fa4bcddad4abb46a3ae40e16f13566d6cf26)

Co-authored-by: Steve Dower <[email protected]>

files:
M PCbuild/python.props

diff --git a/PCbuild/python.props b/PCbuild/python.props
index 49347c2b78d018..4915460ed4a31a 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -11,6 +11,7 @@
 
     We set BasePlatformToolset for ICC's benefit, it's otherwise ignored.
     -->
+    <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and 
'$(VisualStudioVersion)' == '18.0'">v143</BasePlatformToolset>
     <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and 
'$(VisualStudioVersion)' == '17.0'">v143</BasePlatformToolset>
     <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and 
'$(VisualStudioVersion)' == '16.0'">v142</BasePlatformToolset>
     <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and 
('$(MSBuildToolsVersion)' == '15.0' or '$(VisualStudioVersion)' == 
'15.0')">v141</BasePlatformToolset>

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to