|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 | 3 | <Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.props')" />
|
4 |
| - <Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props')" /> |
5 | 4 | <PropertyGroup Label="Globals">
|
6 | 5 | <CppWinRTOptimized>true</CppWinRTOptimized>
|
7 | 6 | <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
|
|
16 | 15 | <ApplicationType>Windows Store</ApplicationType>
|
17 | 16 | <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
18 | 17 | <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
|
19 |
| - <WindowsTargetPlatformMinVersion>10.0.15063.0</WindowsTargetPlatformMinVersion> |
| 18 | + <WindowsTargetPlatformMinVersion>10.0.16299.0</WindowsTargetPlatformMinVersion> |
20 | 19 | </PropertyGroup>
|
21 | 20 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
22 | 21 | <ItemGroup Label="ProjectConfigurations">
|
|
76 | 75 | <PropertyGroup>
|
77 | 76 | <ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
|
78 | 77 | </PropertyGroup>
|
79 |
| - <ImportGroup Label="Shared"> |
80 |
| - <Import Project="$(ReactNativeWindowsDir)\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" /> |
81 |
| - </ImportGroup> |
82 | 78 | <ImportGroup Label="PropertySheets">
|
83 | 79 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
84 | 80 | </ImportGroup>
|
| 81 | + <ImportGroup Label="ReactNativeWindowsPropertySheets"> |
| 82 | + <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" /> |
| 83 | + </ImportGroup> |
85 | 84 | <PropertyGroup Label="UserMacros" />
|
86 | 85 | <PropertyGroup />
|
87 | 86 | <ItemDefinitionGroup>
|
|
155 | 154 | <DeploymentContent>false</DeploymentContent>
|
156 | 155 | </Text>
|
157 | 156 | </ItemGroup>
|
158 |
| - <ItemGroup> |
159 |
| - <ProjectReference Include="$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj"> |
160 |
| - <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project> |
161 |
| - <Private>false</Private> |
162 |
| - </ProjectReference> |
163 |
| - </ItemGroup> |
164 | 157 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
| 158 | + <ImportGroup Label="ReactNativeWindowsTargets"> |
| 159 | + <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" /> |
| 160 | + </ImportGroup> |
| 161 | + <Target Name="EnsureReactNativeWindowsTargets" BeforeTargets="PrepareForBuild"> |
| 162 | + <PropertyGroup> |
| 163 | + <ErrorText>This project references targets in your node_modules\react-native-windows folder. The missing file is {0}.</ErrorText> |
| 164 | + </PropertyGroup> |
| 165 | + <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props'))" /> |
| 166 | + <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets'))" /> |
| 167 | + </Target> |
165 | 168 | <ImportGroup Label="ExtensionTargets">
|
166 |
| - <Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets')" /> |
167 |
| - <Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets')" /> |
| 169 | + <Import Project="$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets')" /> |
168 | 170 | </ImportGroup>
|
169 |
| - <Target Name="Deploy"/> |
170 | 171 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
171 | 172 | <PropertyGroup>
|
172 | 173 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
173 | 174 | </PropertyGroup>
|
174 |
| - <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props'))" /> |
175 |
| - <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets'))" /> |
176 |
| - <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.props'))" /> |
177 |
| - <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets'))" /> |
| 175 | + <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.props'))" /> |
| 176 | + <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200703.9\build\native\Microsoft.Windows.CppWinRT.targets'))" /> |
178 | 177 | </Target>
|
| 178 | + <Target Name="Deploy"/> |
179 | 179 | </Project>
|
0 commit comments