Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 42349c8

Browse files
committed
Remove explicit SDK version
See react-native-async-storage/async-storage#810 Update SDK logic based on PR feedback
1 parent ad63d4e commit 42349c8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

windows/ReactNativePicker/ReactNativePicker.vcxproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
<AppContainerApplication>true</AppContainerApplication>
1515
<ApplicationType>Windows Store</ApplicationType>
1616
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
17-
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
18-
<WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion>
1917
</PropertyGroup>
2018
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2119
<PropertyGroup Label="ReactNativeWindowsProps">
2220
<ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(SolutionDir), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
2321
</PropertyGroup>
22+
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.WindowsSdk.Default.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.WindowsSdk.Default.props')" />
23+
<PropertyGroup Label="Fallback Windows SDK Versions">
24+
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
25+
<WindowsTargetPlatformMinVersion Condition=" '$(WindowsTargetPlatformMinVersion)' == '' ">10.0.17763.0</WindowsTargetPlatformMinVersion>
26+
</PropertyGroup>
2427
<ItemGroup Label="ProjectConfigurations">
2528
<ProjectConfiguration Include="Debug|ARM">
2629
<Configuration>Debug</Configuration>

0 commit comments

Comments
 (0)