|
2 | 2 | <!-- This project was created with react-native-windows 0.74.12 -->
|
3 | 3 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
4 | 4 | <Import Project="$(SolutionDir)\ExperimentalFeatures.props" Condition="Exists('$(SolutionDir)\ExperimentalFeatures.props')" />
|
5 |
| - <PropertyGroup Label="Globals"> |
6 |
| - <CppWinRTOptimized>true</CppWinRTOptimized> |
7 |
| - <MinimalCoreWin>true</MinimalCoreWin> |
8 |
| - <ProjectGuid>{4855D892-E16C-404D-8286-0089E0F7F9C4}</ProjectGuid> |
9 |
| - <ProjectName>ReactNativeAsyncStorage</ProjectName> |
10 |
| - <Keyword>Win32Proj</Keyword> |
11 |
| - <RootNamespace>ReactNativeAsyncStorage</RootNamespace> |
12 |
| - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
13 |
| - <DefaultLanguage>en-US</DefaultLanguage> |
14 |
| - <MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion> |
15 |
| - <AppxPackage>false</AppxPackage> |
16 |
| - </PropertyGroup> |
| 5 | + <Choose> |
| 6 | + <When Condition="'$(UseFabric)'=='true'"> |
| 7 | + <PropertyGroup Label="Globals"> |
| 8 | + <CppWinRTOptimized>true</CppWinRTOptimized> |
| 9 | + <MinimalCoreWin>true</MinimalCoreWin> |
| 10 | + <ProjectGuid>{4855D892-E16C-404D-8286-0089E0F7F9C4}</ProjectGuid> |
| 11 | + <ProjectName>ReactNativeAsyncStorage</ProjectName> |
| 12 | + <Keyword>Win32Proj</Keyword> |
| 13 | + <RootNamespace>ReactNativeAsyncStorage</RootNamespace> |
| 14 | + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
| 15 | + <DefaultLanguage>en-US</DefaultLanguage> |
| 16 | + <MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion> |
| 17 | + <AppxPackage>false</AppxPackage> |
| 18 | + </PropertyGroup> |
| 19 | + </When> |
| 20 | + <Otherwise> |
| 21 | + <PropertyGroup Label="Globals"> |
| 22 | + <CppWinRTOptimized>true</CppWinRTOptimized> |
| 23 | + <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge> |
| 24 | + <MinimalCoreWin>true</MinimalCoreWin> |
| 25 | + <ProjectGuid>{4855D892-E16C-404D-8286-0089E0F7F9C4}</ProjectGuid> |
| 26 | + <ProjectName>ReactNativeAsyncStorage</ProjectName> |
| 27 | + <RootNamespace>ReactNativeAsyncStorage</RootNamespace> |
| 28 | + <DefaultLanguage>en-US</DefaultLanguage> |
| 29 | + <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion> |
| 30 | + <AppContainerApplication>true</AppContainerApplication> |
| 31 | + <ApplicationType>Windows Store</ApplicationType> |
| 32 | + <ApplicationTypeRevision>10.0</ApplicationTypeRevision> |
| 33 | + <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0</WindowsTargetPlatformVersion> |
| 34 | + <WindowsTargetPlatformMinVersion Condition=" '$(WindowsTargetPlatformMinVersion)' == '' ">10.0.17763.0</WindowsTargetPlatformMinVersion> |
| 35 | + </PropertyGroup> |
| 36 | + </Otherwise> |
| 37 | + </Choose> |
17 | 38 | <PropertyGroup Label="ReactNativeWindowsProps">
|
18 | 39 | <ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
|
19 | 40 | <RunAutolinkCheck>false</RunAutolinkCheck>
|
|
65 | 86 | <ImportGroup Label="PropertySheets">
|
66 | 87 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
67 | 88 | </ImportGroup>
|
| 89 | + <ImportGroup Label="PropertySheets" Condition="'$(UseFabric)'!='true'"> |
| 90 | + <Import Project="PropertySheet.props" /> |
| 91 | + </ImportGroup> |
68 | 92 | <ImportGroup Label="ReactNativeWindowsPropertySheets">
|
69 | 93 | <Import Project="$(ReactNativeWindowsDir)\PropertySheets\external\Microsoft.ReactNative.Uwp.CppLib.props" Condition="'$(UseFabric)'!='true' And Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" />
|
70 | 94 | <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.CppLib.props" Condition="'$(UseFabric)'=='true' And Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.CppLib.props')" />
|
|
114 | 138 | </ClInclude>
|
115 | 139 | <ClInclude Include="..\code\DBStorage.h" />
|
116 | 140 | <ClInclude Include="..\code\RNCAsyncStorage.h" />
|
117 |
| - <ClInclude Include="resource.h" /> |
118 |
| - <ClInclude Include="targetver.h" /> |
| 141 | + <ClInclude Include="resource.h" Condition="'$(UseFabric)'=='true'" /> |
| 142 | + <ClInclude Include="targetver.h" Condition="'$(UseFabric)'=='true'" /> |
119 | 143 | </ItemGroup>
|
120 | 144 | <ItemGroup>
|
121 | 145 | <ClCompile Include="pch.cpp">
|
|
0 commit comments