Нема описа

WebViewWindows.vcxproj 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <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')" />
  4. <PropertyGroup Label="Globals">
  5. <CppWinRTOptimized>true</CppWinRTOptimized>
  6. <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
  7. <MinimalCoreWin>true</MinimalCoreWin>
  8. <ProjectGuid>{ac6c354f-8c80-47ea-9e40-996abe271843}</ProjectGuid>
  9. <ProjectName>WebViewWindows</ProjectName>
  10. <RootNamespace>WebViewWindows</RootNamespace>
  11. <DefaultLanguage>en-US</DefaultLanguage>
  12. <MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
  13. <AppContainerApplication>true</AppContainerApplication>
  14. <ApplicationType>Windows Store</ApplicationType>
  15. <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
  16. <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
  17. <WindowsTargetPlatformMinVersion>10.0.15063.0</WindowsTargetPlatformMinVersion>
  18. <PackageCertificateKeyFile>WebViewWindows_TemporaryKey.pfx</PackageCertificateKeyFile>
  19. <PackageCertificateThumbprint>82A0D300B0912A62746FFB3E6E04F88985BC2798</PackageCertificateThumbprint>
  20. <PackageCertificatePassword>password</PackageCertificatePassword>
  21. </PropertyGroup>
  22. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  23. <ItemGroup Label="ProjectConfigurations">
  24. <ProjectConfiguration Include="Debug|ARM">
  25. <Configuration>Debug</Configuration>
  26. <Platform>ARM</Platform>
  27. </ProjectConfiguration>
  28. <ProjectConfiguration Include="Debug|ARM64">
  29. <Configuration>Debug</Configuration>
  30. <Platform>ARM64</Platform>
  31. </ProjectConfiguration>
  32. <ProjectConfiguration Include="Debug|Win32">
  33. <Configuration>Debug</Configuration>
  34. <Platform>Win32</Platform>
  35. </ProjectConfiguration>
  36. <ProjectConfiguration Include="Debug|x64">
  37. <Configuration>Debug</Configuration>
  38. <Platform>x64</Platform>
  39. </ProjectConfiguration>
  40. <ProjectConfiguration Include="Release|ARM">
  41. <Configuration>Release</Configuration>
  42. <Platform>ARM</Platform>
  43. </ProjectConfiguration>
  44. <ProjectConfiguration Include="Release|ARM64">
  45. <Configuration>Release</Configuration>
  46. <Platform>ARM64</Platform>
  47. </ProjectConfiguration>
  48. <ProjectConfiguration Include="Release|Win32">
  49. <Configuration>Release</Configuration>
  50. <Platform>Win32</Platform>
  51. </ProjectConfiguration>
  52. <ProjectConfiguration Include="Release|x64">
  53. <Configuration>Release</Configuration>
  54. <Platform>x64</Platform>
  55. </ProjectConfiguration>
  56. </ItemGroup>
  57. <PropertyGroup Label="Configuration">
  58. <ConfigurationType>Application</ConfigurationType>
  59. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  60. <CharacterSet>Unicode</CharacterSet>
  61. </PropertyGroup>
  62. <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
  63. <UseDebugLibraries>true</UseDebugLibraries>
  64. <LinkIncremental>true</LinkIncremental>
  65. </PropertyGroup>
  66. <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
  67. <UseDebugLibraries>false</UseDebugLibraries>
  68. <WholeProgramOptimization>true</WholeProgramOptimization>
  69. <LinkIncremental>false</LinkIncremental>
  70. </PropertyGroup>
  71. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  72. <ImportGroup Label="ExtensionSettings">
  73. </ImportGroup>
  74. <ImportGroup Label="Shared">
  75. <Import Project="..\..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" />
  76. </ImportGroup>
  77. <ImportGroup Label="PropertySheets">
  78. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  79. </ImportGroup>
  80. <ImportGroup Label="PropertySheets">
  81. <Import Project="PropertySheet.props" />
  82. </ImportGroup>
  83. <PropertyGroup Label="UserMacros" />
  84. <ItemDefinitionGroup>
  85. <ClCompile>
  86. <PrecompiledHeader>Use</PrecompiledHeader>
  87. <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
  88. <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
  89. <WarningLevel>Level4</WarningLevel>
  90. <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
  91. <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
  92. </ClCompile>
  93. </ItemDefinitionGroup>
  94. <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
  95. <ClCompile>
  96. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  97. </ClCompile>
  98. </ItemDefinitionGroup>
  99. <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
  100. <ClCompile>
  101. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  102. </ClCompile>
  103. </ItemDefinitionGroup>
  104. <ItemGroup>
  105. <ClInclude Include="ReactPackageProvider.h" />
  106. <ClInclude Include="pch.h" />
  107. <ClInclude Include="App.h">
  108. <DependentUpon>App.xaml</DependentUpon>
  109. </ClInclude>
  110. </ItemGroup>
  111. <ItemGroup>
  112. <ApplicationDefinition Include="App.xaml">
  113. <SubType>Designer</SubType>
  114. </ApplicationDefinition>
  115. </ItemGroup>
  116. <ItemGroup>
  117. <AppxManifest Include="Package.appxmanifest">
  118. <SubType>Designer</SubType>
  119. </AppxManifest>
  120. </ItemGroup>
  121. <ItemGroup>
  122. <Image Include="Assets\LockScreenLogo.scale-200.png" />
  123. <Image Include="Assets\SplashScreen.scale-200.png" />
  124. <Image Include="Assets\Square150x150Logo.scale-200.png" />
  125. <Image Include="Assets\Square44x44Logo.scale-200.png" />
  126. <Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
  127. <Image Include="Assets\StoreLogo.png" />
  128. <Image Include="Assets\Wide310x150Logo.scale-200.png" />
  129. </ItemGroup>
  130. <ItemGroup>
  131. <ClCompile Include="ReactPackageProvider.cpp" />
  132. <ClCompile Include="pch.cpp">
  133. <PrecompiledHeader>Create</PrecompiledHeader>
  134. </ClCompile>
  135. <ClCompile Include="App.cpp">
  136. <DependentUpon>App.xaml</DependentUpon>
  137. </ClCompile>
  138. <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
  139. </ItemGroup>
  140. <ItemGroup>
  141. <Midl Include="App.idl">
  142. <DependentUpon>App.xaml</DependentUpon>
  143. </Midl>
  144. </ItemGroup>
  145. <ItemGroup>
  146. <None Include="packages.config" />
  147. <None Include="PropertySheet.props" />
  148. <Text Include="readme.txt">
  149. <DeploymentContent>false</DeploymentContent>
  150. </Text>
  151. </ItemGroup>
  152. <ItemGroup>
  153. <ProjectReference Include="..\..\..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
  154. <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
  155. </ProjectReference>
  156. <ProjectReference Include="..\..\..\windows\ReactNativeWebView\ReactNativeWebView.vcxproj">
  157. <Project>{729d9af8-cd9e-4427-9f6c-fb757e287729}</Project>
  158. </ProjectReference>
  159. </ItemGroup>
  160. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  161. <PropertyGroup>
  162. <BundleCommand>
  163. cd $(SolutionDir)..
  164. react-native bundle --platform windows --entry-file example/index.js --bundle-output windows/$(SolutionName)/Bundle/index.windows.bundle --assets-dest windows/$(SolutionName)/Bundle
  165. </BundleCommand>
  166. </PropertyGroup>
  167. <Import Project="..\..\..\node_modules\react-native-windows\PropertySheets\Bundle.Cpp.targets" />
  168. <ImportGroup Label="ExtensionTargets">
  169. <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')" />
  170. <Import Project="$(SolutionDir)packages\Microsoft.UI.Xaml.2.3.191129002\build\native\Microsoft.UI.Xaml.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.UI.Xaml.2.3.191129002\build\native\Microsoft.UI.Xaml.targets')" />
  171. </ImportGroup>
  172. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  173. <PropertyGroup>
  174. <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>
  175. </PropertyGroup>
  176. <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
  177. <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.190730.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
  178. <Error Condition="!Exists('$(SolutionDir)packages\Microsoft.UI.Xaml.2.3.191129002\build\native\Microsoft.UI.Xaml.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.UI.Xaml.2.3.191129002\build\native\Microsoft.UI.Xaml.targets'))" />
  179. </Target>
  180. </Project>