Skip to content

Commit e3c754b

Browse files
committed
WiX: setup the PlatformToolset value to the default
With this we now get a default value for the `PlatformToolset` property which will be configured based on the toolset that is installed. Subsequently, the developer no longer needs to specify the value when building the installer.
1 parent b848062 commit e3c754b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

platforms/Windows/CustomActions/SwiftInstaller/SwiftInstaller.vcxproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050

5151
<NuGetTargetMoniker>native,Version=v0.0</NuGetTargetMoniker>
5252

53-
<!-- NOTE(compnerd) default to v142 (VS2019) toolset; VS2022 is v143 -->
54-
<PlatformToolset Condition="'$(PlatformToolset)' == ''">v142</PlatformToolset>
53+
<PlatformToolset Condition="'$(PlatformToolset)' == ''">$(DefaultPlatformToolset)</PlatformToolset>
5554
<PlatformToolset>$(PlatformToolset)</PlatformToolset>
5655

5756
<IntDir>$(ProjectDir)build\$(Configuration)\$(PlatformShortName)\$(PlatformToolset)\obj\</IntDir>

0 commit comments

Comments
 (0)