Ei kuvausta

WebViewWindows.vcxproj 9.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. <AppxPackageSigningEnabled>true</AppxPackageSigningEnabled>
  22. </PropertyGroup>
  23. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  24. <ItemGroup Label="ProjectConfigurations">
  25. <ProjectConfiguration Include="Debug|ARM">
  26. <Configuration>Debug</Configuration>
  27. <Platform>ARM</Platform>
  28. </ProjectConfiguration>
  29. <ProjectConfiguration Include="Debug|ARM64">
  30. <Configuration>Debug</Configuration>
  31. <Platform>ARM64</Platform>
  32. </ProjectConfiguration>
  33. <ProjectConfiguration Include="Debug|Win32">
  34. <Configuration>Debug</Configuration>
  35. <Platform>Win32</Platform>
  36. </ProjectConfiguration>
  37. <ProjectConfiguration Include="Debug|x64">
  38. <Configuration>Debug</Configuration>
  39. <Platform>x64</Platform>
  40. </ProjectConfiguration>
  41. <ProjectConfiguration Include="Release|ARM">
  42. <Configuration>Release</Configuration>
  43. <Platform>ARM</Platform>
  44. </ProjectConfiguration>
  45. <ProjectConfiguration Include="Release|ARM64">
  46. <Configuration>Release</Configuration>
  47. <Platform>ARM64</Platform>
  48. </ProjectConfiguration>
  49. <ProjectConfiguration Include="Release|Win32">
  50. <Configuration>Release</Configuration>
  51. <Platform>Win32</Platform>
  52. </ProjectConfiguration>
  53. <ProjectConfiguration Include="Release|x64">
  54. <Configuration>Release</Configuration>
  55. <Platform>x64</Platform>
  56. </ProjectConfiguration>
  57. </ItemGroup>
  58. <PropertyGroup Label="Configuration">
  59. <ConfigurationType>Application</ConfigurationType>
  60. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  61. <CharacterSet>Unicode</CharacterSet>
  62. </PropertyGroup>
  63. <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
  64. <UseDebugLibraries>true</UseDebugLibraries>
  65. <LinkIncremental>true</LinkIncremental>
  66. </PropertyGroup>
  67. <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
  68. <UseDebugLibraries>false</UseDebugLibraries>
  69. <WholeProgramOptimization>true</WholeProgramOptimization>
  70. <LinkIncremental>false</LinkIncremental>
  71. </PropertyGroup>
  72. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  73. <ImportGroup Label="ExtensionSettings">
  74. </ImportGroup>
  75. <ImportGroup Label="Shared">
  76. <Import Project="..\..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" />
  77. </ImportGroup>
  78. <ImportGroup Label="PropertySheets">
  79. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  80. </ImportGroup>
  81. <ImportGroup Label="PropertySheets">
  82. <Import Project="PropertySheet.props" />
  83. </ImportGroup>
  84. <PropertyGroup Label="UserMacros" />
  85. <ItemDefinitionGroup>
  86. <ClCompile>
  87. <PrecompiledHeader>Use</PrecompiledHeader>
  88. <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
  89. <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
  90. <WarningLevel>Level4</WarningLevel>
  91. <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
  92. <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
  93. </ClCompile>
  94. </ItemDefinitionGroup>
  95. <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
  96. <ClCompile>
  97. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  98. </ClCompile>
  99. </ItemDefinitionGroup>
  100. <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
  101. <ClCompile>
  102. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  103. </ClCompile>
  104. </ItemDefinitionGroup>
  105. <ItemGroup>
  106. <ClInclude Include="ReactPackageProvider.h" />
  107. <ClInclude Include="pch.h" />
  108. <ClInclude Include="App.h">
  109. <DependentUpon>App.xaml</DependentUpon>
  110. </ClInclude>
  111. </ItemGroup>
  112. <ItemGroup>
  113. <ApplicationDefinition Include="App.xaml">
  114. <SubType>Designer</SubType>
  115. </ApplicationDefinition>
  116. </ItemGroup>
  117. <ItemGroup>
  118. <AppxManifest Include="Package.appxmanifest">
  119. <SubType>Designer</SubType>
  120. </AppxManifest>
  121. </ItemGroup>
  122. <ItemGroup>
  123. <Image Include="Assets\LockScreenLogo.scale-200.png" />
  124. <Image Include="Assets\SplashScreen.scale-200.png" />
  125. <Image Include="Assets\Square150x150Logo.scale-200.png" />
  126. <Image Include="Assets\Square44x44Logo.scale-200.png" />
  127. <Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
  128. <Image Include="Assets\StoreLogo.png" />
  129. <Image Include="Assets\Wide310x150Logo.scale-200.png" />
  130. </ItemGroup>
  131. <ItemGroup>
  132. <ClCompile Include="ReactPackageProvider.cpp" />
  133. <ClCompile Include="pch.cpp">
  134. <PrecompiledHeader>Create</PrecompiledHeader>
  135. </ClCompile>
  136. <ClCompile Include="App.cpp">
  137. <DependentUpon>App.xaml</DependentUpon>
  138. </ClCompile>
  139. <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
  140. </ItemGroup>
  141. <ItemGroup>
  142. <Midl Include="App.idl">
  143. <DependentUpon>App.xaml</DependentUpon>
  144. </Midl>
  145. </ItemGroup>
  146. <ItemGroup>
  147. <None Include="packages.config" />
  148. <None Include="PropertySheet.props" />
  149. <None Include="WebViewWindows_TemporaryKey.pfx" />
  150. <Text Include="readme.txt">
  151. <DeploymentContent>false</DeploymentContent>
  152. </Text>
  153. </ItemGroup>
  154. <ItemGroup>
  155. <ProjectReference Include="..\..\..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
  156. <Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
  157. </ProjectReference>
  158. <ProjectReference Include="..\..\..\windows\ReactNativeWebView\ReactNativeWebView.vcxproj">
  159. <Project>{729d9af8-cd9e-4427-9f6c-fb757e287729}</Project>
  160. </ProjectReference>
  161. </ItemGroup>
  162. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  163. <PropertyGroup>
  164. <BundleCommand>
  165. cd $(SolutionDir)..\..
  166. npx react-native bundle --platform windows --entry-file example/index.js --bundle-output example/windows/WebViewWindows/Bundle/index.windows.bundle --assets-dest example/windows/WebViewWindows/Bundle --use-react-native-windows
  167. </BundleCommand>
  168. </PropertyGroup>
  169. <Import Project="..\..\..\node_modules\react-native-windows\PropertySheets\Bundle.Cpp.targets" />
  170. <ImportGroup Label="ExtensionTargets">
  171. <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')" />
  172. <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')" />
  173. </ImportGroup>
  174. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  175. <PropertyGroup>
  176. <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>
  177. </PropertyGroup>
  178. <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'))" />
  179. <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'))" />
  180. <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'))" />
  181. </Target>
  182. </Project>