@react-native-windows/cli 0.0.0-canary.2 → 0.0.0-canary.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindows.d.ts +87 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js +661 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js.map +1 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.d.ts +14 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js +33 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js.map +1 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindows.d.ts +27 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindows.js +206 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindows.js.map +1 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.d.ts +12 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js +23 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js.map +1 -0
- package/lib-commonjs/{config → commands/config}/configUtils.d.ts +34 -6
- package/lib-commonjs/commands/config/configUtils.js +381 -0
- package/lib-commonjs/commands/config/configUtils.js.map +1 -0
- package/lib-commonjs/{config → commands/config}/dependencyConfig.d.ts +3 -3
- package/lib-commonjs/commands/config/dependencyConfig.js +228 -0
- package/lib-commonjs/commands/config/dependencyConfig.js.map +1 -0
- package/lib-commonjs/{config → commands/config}/projectConfig.d.ts +6 -3
- package/lib-commonjs/{config → commands/config}/projectConfig.js +72 -12
- package/lib-commonjs/commands/config/projectConfig.js.map +1 -0
- package/lib-commonjs/commands/healthCheck/healthCheckList.d.ts +6 -0
- package/lib-commonjs/commands/healthCheck/healthCheckList.js +21 -0
- package/lib-commonjs/commands/healthCheck/healthCheckList.js.map +1 -0
- package/lib-commonjs/commands/healthCheck/healthChecks.d.ts +7 -0
- package/lib-commonjs/commands/healthCheck/healthChecks.js +124 -0
- package/lib-commonjs/commands/healthCheck/healthChecks.js.map +1 -0
- package/lib-commonjs/commands/initWindows/initWindows.d.ts +46 -0
- package/lib-commonjs/commands/initWindows/initWindows.js +244 -0
- package/lib-commonjs/commands/initWindows/initWindows.js.map +1 -0
- package/lib-commonjs/commands/initWindows/initWindowsOptions.d.ts +15 -0
- package/lib-commonjs/commands/initWindows/initWindowsOptions.js +38 -0
- package/lib-commonjs/commands/initWindows/initWindowsOptions.js.map +1 -0
- package/lib-commonjs/commands/runWindows/runWindows.js +322 -0
- package/lib-commonjs/commands/runWindows/runWindows.js.map +1 -0
- package/lib-commonjs/{runWindows → commands/runWindows}/runWindowsOptions.d.ts +17 -11
- package/lib-commonjs/{runWindows → commands/runWindows}/runWindowsOptions.js +16 -11
- package/lib-commonjs/commands/runWindows/runWindowsOptions.js.map +1 -0
- package/lib-commonjs/e2etest/autolink.test.d.ts +6 -0
- package/lib-commonjs/e2etest/autolink.test.js +367 -0
- package/lib-commonjs/e2etest/autolink.test.js.map +1 -0
- package/lib-commonjs/e2etest/dependencyConfig.test.d.ts +6 -0
- package/lib-commonjs/e2etest/dependencyConfig.test.js +130 -0
- package/lib-commonjs/e2etest/dependencyConfig.test.js.map +1 -0
- package/lib-commonjs/e2etest/healthChecks.test.d.ts +6 -0
- package/lib-commonjs/e2etest/healthChecks.test.js +31 -0
- package/lib-commonjs/e2etest/healthChecks.test.js.map +1 -0
- package/lib-commonjs/e2etest/initWindows.test.d.ts +6 -0
- package/lib-commonjs/e2etest/initWindows.test.js +43 -0
- package/lib-commonjs/e2etest/initWindows.test.js.map +1 -0
- package/lib-commonjs/e2etest/projectConfig.test.d.ts +6 -0
- package/lib-commonjs/e2etest/projectConfig.test.js +111 -0
- package/lib-commonjs/e2etest/projectConfig.test.js.map +1 -0
- package/lib-commonjs/e2etest/projectConfig.utils.d.ts +8 -0
- package/lib-commonjs/e2etest/projectConfig.utils.js +77 -0
- package/lib-commonjs/e2etest/projectConfig.utils.js.map +1 -0
- package/lib-commonjs/e2etest/runWindows.test.d.ts +6 -0
- package/lib-commonjs/e2etest/runWindows.test.js +61 -0
- package/lib-commonjs/e2etest/runWindows.test.js.map +1 -0
- package/lib-commonjs/generator-common/index.d.ts +17 -1
- package/lib-commonjs/generator-common/index.js +61 -40
- package/lib-commonjs/generator-common/index.js.map +1 -1
- package/lib-commonjs/generator-windows/index.d.ts +2 -2
- package/lib-commonjs/generator-windows/index.js +238 -187
- package/lib-commonjs/generator-windows/index.js.map +1 -1
- package/lib-commonjs/index.d.ts +7 -2
- package/lib-commonjs/index.js +51 -11
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/{runWindows/utils → utils}/build.d.ts +2 -3
- package/lib-commonjs/{runWindows/utils → utils}/build.js +26 -33
- package/lib-commonjs/utils/build.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/checkRequirements.js +11 -7
- package/lib-commonjs/utils/checkRequirements.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/commandWithProgress.d.ts +11 -3
- package/lib-commonjs/utils/commandWithProgress.js +150 -0
- package/lib-commonjs/utils/commandWithProgress.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/deploy.d.ts +2 -2
- package/lib-commonjs/utils/deploy.js +354 -0
- package/lib-commonjs/utils/deploy.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/info.js +5 -2
- package/lib-commonjs/utils/info.js.map +1 -0
- package/lib-commonjs/utils/msbuildtools.d.ts +28 -0
- package/lib-commonjs/utils/msbuildtools.js +274 -0
- package/lib-commonjs/utils/msbuildtools.js.map +1 -0
- package/lib-commonjs/utils/pathHelpers.d.ts +9 -0
- package/lib-commonjs/utils/pathHelpers.js +37 -0
- package/lib-commonjs/utils/pathHelpers.js.map +1 -0
- package/lib-commonjs/utils/telemetryHelpers.d.ts +29 -0
- package/lib-commonjs/utils/telemetryHelpers.js +121 -0
- package/lib-commonjs/utils/telemetryHelpers.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/version.d.ts +4 -4
- package/lib-commonjs/utils/version.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/vsInstalls.d.ts +5 -2
- package/lib-commonjs/utils/vsInstalls.js +100 -0
- package/lib-commonjs/utils/vsInstalls.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/vstools.d.ts +2 -1
- package/lib-commonjs/utils/vstools.js +190 -0
- package/lib-commonjs/utils/vstools.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/winappdeploytool.d.ts +3 -3
- package/lib-commonjs/{runWindows/utils → utils}/winappdeploytool.js +17 -14
- package/lib-commonjs/utils/winappdeploytool.js.map +1 -0
- package/package.json +50 -28
- package/{powershell → src/powershell}/Add-AppDevPackage.ps1 +2 -2
- package/src/powershell/Eval-MsBuildProperties.ps1 +156 -0
- package/{powershell → src/powershell}/WindowsStoreAppUtils.ps1 +11 -1
- package/CHANGELOG.json +0 -35
- package/CHANGELOG.md +0 -21
- package/lib-commonjs/config/configUtils.js +0 -265
- package/lib-commonjs/config/configUtils.js.map +0 -1
- package/lib-commonjs/config/dependencyConfig.js +0 -148
- package/lib-commonjs/config/dependencyConfig.js.map +0 -1
- package/lib-commonjs/config/projectConfig.js.map +0 -1
- package/lib-commonjs/runWindows/runWindows.js +0 -139
- package/lib-commonjs/runWindows/runWindows.js.map +0 -1
- package/lib-commonjs/runWindows/runWindowsOptions.js.map +0 -1
- package/lib-commonjs/runWindows/utils/autolink.d.ts +0 -7
- package/lib-commonjs/runWindows/utils/autolink.js +0 -343
- package/lib-commonjs/runWindows/utils/autolink.js.map +0 -1
- package/lib-commonjs/runWindows/utils/build.js.map +0 -1
- package/lib-commonjs/runWindows/utils/checkRequirements.js.map +0 -1
- package/lib-commonjs/runWindows/utils/commandWithProgress.js +0 -114
- package/lib-commonjs/runWindows/utils/commandWithProgress.js.map +0 -1
- package/lib-commonjs/runWindows/utils/deploy.js +0 -247
- package/lib-commonjs/runWindows/utils/deploy.js.map +0 -1
- package/lib-commonjs/runWindows/utils/info.js.map +0 -1
- package/lib-commonjs/runWindows/utils/msbuildtools.d.ts +0 -22
- package/lib-commonjs/runWindows/utils/msbuildtools.js +0 -183
- package/lib-commonjs/runWindows/utils/msbuildtools.js.map +0 -1
- package/lib-commonjs/runWindows/utils/version.js.map +0 -1
- package/lib-commonjs/runWindows/utils/vsInstalls.js +0 -59
- package/lib-commonjs/runWindows/utils/vsInstalls.js.map +0 -1
- package/lib-commonjs/runWindows/utils/vstools.js +0 -144
- package/lib-commonjs/runWindows/utils/vstools.js.map +0 -1
- package/lib-commonjs/runWindows/utils/winappdeploytool.js.map +0 -1
- package/templates/_gitignore +0 -92
- package/templates/b_gitignore +0 -1
- package/templates/cpp/keys/MyApp_TemporaryKey.pfx +0 -0
- package/templates/cpp/proj/MyApp.sln +0 -194
- package/templates/cpp/proj/MyApp.vcxproj +0 -220
- package/templates/cpp/proj/MyApp.vcxproj.filters +0 -63
- package/templates/cpp/proj/packages.config +0 -6
- package/templates/cpp/src/App.cpp +0 -80
- package/templates/cpp/src/App.h +0 -25
- package/templates/cpp/src/App.idl +0 -3
- package/templates/cpp/src/AutolinkedNativeModules.g.cpp +0 -13
- package/templates/cpp/src/AutolinkedNativeModules.g.h +0 -10
- package/templates/cpp/src/AutolinkedNativeModules.g.targets +0 -6
- package/templates/cpp/src/MainPage.cpp +0 -24
- package/templates/cpp/src/MainPage.h +0 -21
- package/templates/cpp/src/MainPage.idl +0 -8
- package/templates/cpp/src/PropertySheet.props +0 -16
- package/templates/cpp/src/ReactPackageProvider.cpp +0 -18
- package/templates/cpp/src/ReactPackageProvider.h +0 -15
- package/templates/cpp/src/pch.cpp +0 -1
- package/templates/cpp/src/pch.h +0 -26
- package/templates/cs/keys/MyApp_TemporaryKey.pfx +0 -0
- package/templates/cs/proj/MyApp.csproj +0 -190
- package/templates/cs/proj/MyApp.sln +0 -227
- package/templates/cs/src/App.xaml.cs +0 -51
- package/templates/cs/src/AutolinkedNativeModules.g.cs +0 -13
- package/templates/cs/src/AutolinkedNativeModules.g.targets +0 -6
- package/templates/cs/src/MainPage.xaml.cs +0 -33
- package/templates/cs/src/Properties/AssemblyInfo.cs +0 -29
- package/templates/cs/src/Properties/Default.rd.xml +0 -32
- package/templates/cs/src/ReactPackageProvider.cs +0 -17
- package/templates/index.windows.bundle +0 -9
- package/templates/metro.config.js +0 -29
- package/templates/shared/assets/LockScreenLogo.scale-200.png +0 -0
- package/templates/shared/assets/SplashScreen.scale-200.png +0 -0
- package/templates/shared/assets/Square150x150Logo.scale-200.png +0 -0
- package/templates/shared/assets/Square44x44Logo.scale-200.png +0 -0
- package/templates/shared/assets/Square44x44Logo.targetsize-24_altform-unplated.png +0 -0
- package/templates/shared/assets/StoreLogo.png +0 -0
- package/templates/shared/assets/Wide310x150Logo.scale-200.png +0 -0
- package/templates/shared/proj/NuGet.Config +0 -13
- package/templates/shared/src/App.xaml +0 -10
- package/templates/shared/src/MainPage.xaml +0 -21
- package/templates/shared/src/Package.appxmanifest +0 -50
- /package/lib-commonjs/{runWindows → commands/runWindows}/runWindows.d.ts +0 -0
- /package/lib-commonjs/{runWindows/utils → utils}/checkRequirements.d.ts +0 -0
- /package/lib-commonjs/{runWindows/utils → utils}/info.d.ts +0 -0
- /package/lib-commonjs/{runWindows/utils → utils}/version.js +0 -0
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project ToolsVersion="16.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
{{#cppNugetPackages}}
|
|
4
|
-
{{#propsTopOfFile}}
|
|
5
|
-
<Import Project="..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.props" Condition="Exists('..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.props')" />
|
|
6
|
-
{{/propsTopOfFile}}
|
|
7
|
-
{{/cppNugetPackages}}
|
|
8
|
-
<PropertyGroup Label="Globals">
|
|
9
|
-
<CppWinRTOptimized>true</CppWinRTOptimized>
|
|
10
|
-
<CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
|
|
11
|
-
<MinimalCoreWin>true</MinimalCoreWin>
|
|
12
|
-
<ProjectGuid>{{ projectGuidLower }}</ProjectGuid>
|
|
13
|
-
<ProjectName>{{ name }}</ProjectName>
|
|
14
|
-
<RootNamespace>{{ namespace }}</RootNamespace>
|
|
15
|
-
<DefaultLanguage>en-US</DefaultLanguage>
|
|
16
|
-
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
|
|
17
|
-
<AppContainerApplication>true</AppContainerApplication>
|
|
18
|
-
<ApplicationType>Windows Store</ApplicationType>
|
|
19
|
-
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
|
20
|
-
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
|
|
21
|
-
<WindowsTargetPlatformMinVersion>10.0.16299.0</WindowsTargetPlatformMinVersion>
|
|
22
|
-
<PackageCertificateKeyFile>{{ name }}_TemporaryKey.pfx</PackageCertificateKeyFile>
|
|
23
|
-
{{#certificateThumbprint}}
|
|
24
|
-
<PackageCertificateThumbprint>{{certificateThumbprint}}</PackageCertificateThumbprint>
|
|
25
|
-
{{/certificateThumbprint}}
|
|
26
|
-
<PackageCertificatePassword>password</PackageCertificatePassword>
|
|
27
|
-
</PropertyGroup>
|
|
28
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
29
|
-
<PropertyGroup Label="ReactNativeWindowsProps">
|
|
30
|
-
<ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
|
|
31
|
-
{{#useExperimentalNuget}}
|
|
32
|
-
<UseExperimentalNuget>true</UseExperimentalNuget> <!-- This will eventually default to true and this property should be removed -->
|
|
33
|
-
{{/useExperimentalNuget}}
|
|
34
|
-
</PropertyGroup>
|
|
35
|
-
<ItemGroup Label="ProjectConfigurations">
|
|
36
|
-
<ProjectConfiguration Include="Debug|ARM">
|
|
37
|
-
<Configuration>Debug</Configuration>
|
|
38
|
-
<Platform>ARM</Platform>
|
|
39
|
-
</ProjectConfiguration>
|
|
40
|
-
<ProjectConfiguration Include="Debug|ARM64">
|
|
41
|
-
<Configuration>Debug</Configuration>
|
|
42
|
-
<Platform>ARM64</Platform>
|
|
43
|
-
</ProjectConfiguration>
|
|
44
|
-
<ProjectConfiguration Include="Debug|Win32">
|
|
45
|
-
<Configuration>Debug</Configuration>
|
|
46
|
-
<Platform>Win32</Platform>
|
|
47
|
-
</ProjectConfiguration>
|
|
48
|
-
<ProjectConfiguration Include="Debug|x64">
|
|
49
|
-
<Configuration>Debug</Configuration>
|
|
50
|
-
<Platform>x64</Platform>
|
|
51
|
-
</ProjectConfiguration>
|
|
52
|
-
<ProjectConfiguration Include="Release|ARM">
|
|
53
|
-
<Configuration>Release</Configuration>
|
|
54
|
-
<Platform>ARM</Platform>
|
|
55
|
-
</ProjectConfiguration>
|
|
56
|
-
<ProjectConfiguration Include="Release|ARM64">
|
|
57
|
-
<Configuration>Release</Configuration>
|
|
58
|
-
<Platform>ARM64</Platform>
|
|
59
|
-
</ProjectConfiguration>
|
|
60
|
-
<ProjectConfiguration Include="Release|Win32">
|
|
61
|
-
<Configuration>Release</Configuration>
|
|
62
|
-
<Platform>Win32</Platform>
|
|
63
|
-
</ProjectConfiguration>
|
|
64
|
-
<ProjectConfiguration Include="Release|x64">
|
|
65
|
-
<Configuration>Release</Configuration>
|
|
66
|
-
<Platform>x64</Platform>
|
|
67
|
-
</ProjectConfiguration>
|
|
68
|
-
</ItemGroup>
|
|
69
|
-
<PropertyGroup Label="Configuration">
|
|
70
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
71
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
72
|
-
</PropertyGroup>
|
|
73
|
-
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
|
74
|
-
<UseDebugLibraries>true</UseDebugLibraries>
|
|
75
|
-
<LinkIncremental>true</LinkIncremental>
|
|
76
|
-
</PropertyGroup>
|
|
77
|
-
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
|
78
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
|
79
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
80
|
-
<LinkIncremental>false</LinkIncremental>
|
|
81
|
-
</PropertyGroup>
|
|
82
|
-
{{#cppNugetPackages}}
|
|
83
|
-
{{#propsMiddleOfFile}}
|
|
84
|
-
<Import Project="..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.props" Condition="Exists('..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.props')" />
|
|
85
|
-
{{/propsMiddleOfFile}}
|
|
86
|
-
{{/cppNugetPackages}}
|
|
87
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
88
|
-
<ImportGroup Label="ExtensionSettings"></ImportGroup>
|
|
89
|
-
<ImportGroup Label="PropertySheets">
|
|
90
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
91
|
-
</ImportGroup>
|
|
92
|
-
<ImportGroup Label="PropertySheets">
|
|
93
|
-
<Import Project="PropertySheet.props" />
|
|
94
|
-
</ImportGroup>
|
|
95
|
-
<ImportGroup Label="ReactNativeWindowsPropertySheets">
|
|
96
|
-
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\external\Microsoft.ReactNative.Uwp.CppApp.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.props')" />
|
|
97
|
-
<Import Project="..\packages\$(WinUIPackageProps)" Condition="'$(WinUIPackageProps)'!='' And Exists('..\packages\$(WinUIPackageProps)')" />
|
|
98
|
-
</ImportGroup>
|
|
99
|
-
<PropertyGroup Label="UserMacros" />
|
|
100
|
-
<ItemDefinitionGroup>
|
|
101
|
-
<ClCompile>
|
|
102
|
-
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
103
|
-
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
104
|
-
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
|
105
|
-
<WarningLevel>Level4</WarningLevel>
|
|
106
|
-
<AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
|
|
107
|
-
<DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
|
|
108
|
-
</ClCompile>
|
|
109
|
-
</ItemDefinitionGroup>
|
|
110
|
-
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
111
|
-
<ClCompile>
|
|
112
|
-
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
113
|
-
</ClCompile>
|
|
114
|
-
</ItemDefinitionGroup>
|
|
115
|
-
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
116
|
-
<ClCompile>
|
|
117
|
-
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
118
|
-
</ClCompile>
|
|
119
|
-
</ItemDefinitionGroup>
|
|
120
|
-
<ItemGroup>
|
|
121
|
-
<ClInclude Include="MainPage.h">
|
|
122
|
-
<DependentUpon>MainPage.xaml</DependentUpon>
|
|
123
|
-
<SubType>Code</SubType>
|
|
124
|
-
</ClInclude>
|
|
125
|
-
<ClInclude Include="ReactPackageProvider.h" />
|
|
126
|
-
<ClInclude Include="AutolinkedNativeModules.g.h" />
|
|
127
|
-
<ClInclude Include="pch.h" />
|
|
128
|
-
<ClInclude Include="App.h">
|
|
129
|
-
<DependentUpon>App.xaml</DependentUpon>
|
|
130
|
-
</ClInclude>
|
|
131
|
-
</ItemGroup>
|
|
132
|
-
<ItemGroup>
|
|
133
|
-
<ApplicationDefinition Include="App.xaml">
|
|
134
|
-
<SubType>Designer</SubType>
|
|
135
|
-
</ApplicationDefinition>
|
|
136
|
-
</ItemGroup>
|
|
137
|
-
<ItemGroup>
|
|
138
|
-
<AppxManifest Include="Package.appxmanifest">
|
|
139
|
-
<SubType>Designer</SubType>
|
|
140
|
-
</AppxManifest>
|
|
141
|
-
</ItemGroup>
|
|
142
|
-
<ItemGroup>
|
|
143
|
-
<Image Include="Assets\LockScreenLogo.scale-200.png" />
|
|
144
|
-
<Image Include="Assets\SplashScreen.scale-200.png" />
|
|
145
|
-
<Image Include="Assets\Square150x150Logo.scale-200.png" />
|
|
146
|
-
<Image Include="Assets\Square44x44Logo.scale-200.png" />
|
|
147
|
-
<Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
|
148
|
-
<Image Include="Assets\StoreLogo.png" />
|
|
149
|
-
<Image Include="Assets\Wide310x150Logo.scale-200.png" />
|
|
150
|
-
</ItemGroup>
|
|
151
|
-
<ItemGroup>
|
|
152
|
-
<ClCompile Include="MainPage.cpp">
|
|
153
|
-
<DependentUpon>MainPage.xaml</DependentUpon>
|
|
154
|
-
<SubType>Code</SubType>
|
|
155
|
-
</ClCompile>
|
|
156
|
-
<ClCompile Include="ReactPackageProvider.cpp" />
|
|
157
|
-
<ClCompile Include="AutolinkedNativeModules.g.cpp" />
|
|
158
|
-
<ClCompile Include="pch.cpp">
|
|
159
|
-
<PrecompiledHeader>Create</PrecompiledHeader>
|
|
160
|
-
</ClCompile>
|
|
161
|
-
<ClCompile Include="App.cpp">
|
|
162
|
-
<DependentUpon>App.xaml</DependentUpon>
|
|
163
|
-
</ClCompile>
|
|
164
|
-
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
|
|
165
|
-
</ItemGroup>
|
|
166
|
-
<ItemGroup>
|
|
167
|
-
<Midl Include="App.idl">
|
|
168
|
-
<DependentUpon>App.xaml</DependentUpon>
|
|
169
|
-
</Midl>
|
|
170
|
-
<Midl Include="MainPage.idl">
|
|
171
|
-
<DependentUpon>MainPage.xaml</DependentUpon>
|
|
172
|
-
<SubType>Code</SubType>
|
|
173
|
-
</Midl>
|
|
174
|
-
</ItemGroup>
|
|
175
|
-
<ItemGroup>
|
|
176
|
-
<None Include="packages.config" />
|
|
177
|
-
<None Include="PropertySheet.props" />
|
|
178
|
-
<Text Include="readme.txt">
|
|
179
|
-
<DeploymentContent>false</DeploymentContent>
|
|
180
|
-
</Text>
|
|
181
|
-
</ItemGroup>
|
|
182
|
-
<ItemGroup>
|
|
183
|
-
<Page Include="MainPage.xaml">
|
|
184
|
-
<SubType>Designer</SubType>
|
|
185
|
-
</Page>
|
|
186
|
-
</ItemGroup>
|
|
187
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
188
|
-
<ImportGroup Label="ReactNativeWindowsTargets">
|
|
189
|
-
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets')" />
|
|
190
|
-
</ImportGroup>
|
|
191
|
-
<Target Name="EnsureReactNativeWindowsTargets" BeforeTargets="PrepareForBuild">
|
|
192
|
-
<PropertyGroup>
|
|
193
|
-
<ErrorText>This project references targets in your node_modules\react-native-windows folder. The missing file is {0}.</ErrorText>
|
|
194
|
-
</PropertyGroup>
|
|
195
|
-
<Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.props'))" />
|
|
196
|
-
<Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets'))" />
|
|
197
|
-
</Target>
|
|
198
|
-
<ImportGroup Label="ExtensionTargets">
|
|
199
|
-
{{#cppNugetPackages}}
|
|
200
|
-
{{#hasTargets}}
|
|
201
|
-
<Import Project="..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.targets" Condition="Exists('..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.targets')" />
|
|
202
|
-
{{/hasTargets}}
|
|
203
|
-
{{/cppNugetPackages}}
|
|
204
|
-
<Import Project="..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets" Condition="Exists('..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets')" />
|
|
205
|
-
</ImportGroup>
|
|
206
|
-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
207
|
-
<PropertyGroup>
|
|
208
|
-
<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>
|
|
209
|
-
</PropertyGroup>
|
|
210
|
-
{{#cppNugetPackages}}
|
|
211
|
-
{{#hasProps}}
|
|
212
|
-
<Error Condition="!Exists('..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.props'))" />
|
|
213
|
-
{{/hasProps}}
|
|
214
|
-
{{#hasTargets}}
|
|
215
|
-
<Error Condition="!Exists('..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\{{ id }}.{{ version }}\build\native\{{ id }}.targets'))" />
|
|
216
|
-
{{/hasTargets}}
|
|
217
|
-
{{/cppNugetPackages}}
|
|
218
|
-
<Error Condition="!Exists('..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets'))" />
|
|
219
|
-
</Target>
|
|
220
|
-
</Project>
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<ItemGroup>
|
|
4
|
-
<ApplicationDefinition Include="App.xaml" />
|
|
5
|
-
</ItemGroup>
|
|
6
|
-
<ItemGroup>
|
|
7
|
-
<Midl Include="App.idl" />
|
|
8
|
-
</ItemGroup>
|
|
9
|
-
<ItemGroup>
|
|
10
|
-
<ClCompile Include="pch.cpp" />
|
|
11
|
-
<ClCompile Include="App.cpp" />
|
|
12
|
-
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
|
|
13
|
-
<ClCompile Include="ReactPackageProvider.cpp" />
|
|
14
|
-
<ClCompile Include="AutolinkedNativeModules.g.cpp" />
|
|
15
|
-
</ItemGroup>
|
|
16
|
-
<ItemGroup>
|
|
17
|
-
<ClInclude Include="pch.h" />
|
|
18
|
-
<ClInclude Include="App.h" />
|
|
19
|
-
<ClInclude Include="ReactPackageProvider.h" />
|
|
20
|
-
<ClInclude Include="AutolinkedNativeModules.g.h" />
|
|
21
|
-
</ItemGroup>
|
|
22
|
-
<ItemGroup>
|
|
23
|
-
<Image Include="Assets\Wide310x150Logo.scale-200.png">
|
|
24
|
-
<Filter>Assets</Filter>
|
|
25
|
-
</Image>
|
|
26
|
-
<Image Include="Assets\StoreLogo.png">
|
|
27
|
-
<Filter>Assets</Filter>
|
|
28
|
-
</Image>
|
|
29
|
-
<Image Include="Assets\Square150x150Logo.scale-200.png">
|
|
30
|
-
<Filter>Assets</Filter>
|
|
31
|
-
</Image>
|
|
32
|
-
<Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png">
|
|
33
|
-
<Filter>Assets</Filter>
|
|
34
|
-
</Image>
|
|
35
|
-
<Image Include="Assets\Square44x44Logo.scale-200.png">
|
|
36
|
-
<Filter>Assets</Filter>
|
|
37
|
-
</Image>
|
|
38
|
-
<Image Include="Assets\SplashScreen.scale-200.png">
|
|
39
|
-
<Filter>Assets</Filter>
|
|
40
|
-
</Image>
|
|
41
|
-
<Image Include="Assets\LockScreenLogo.scale-200.png">
|
|
42
|
-
<Filter>Assets</Filter>
|
|
43
|
-
</Image>
|
|
44
|
-
</ItemGroup>
|
|
45
|
-
<ItemGroup>
|
|
46
|
-
<AppxManifest Include="Package.appxmanifest" />
|
|
47
|
-
</ItemGroup>
|
|
48
|
-
<ItemGroup>
|
|
49
|
-
<Filter Include="Assets">
|
|
50
|
-
<UniqueIdentifier>{e48dc53e-40b1-40cb-970a-f89935452892}</UniqueIdentifier>
|
|
51
|
-
</Filter>
|
|
52
|
-
</ItemGroup>
|
|
53
|
-
<ItemGroup>
|
|
54
|
-
<None Include="PropertySheet.props" />
|
|
55
|
-
<None Include="packages.config" />
|
|
56
|
-
</ItemGroup>
|
|
57
|
-
<ItemGroup>
|
|
58
|
-
<Text Include="readme.txt" />
|
|
59
|
-
</ItemGroup>
|
|
60
|
-
<ItemGroup>
|
|
61
|
-
<Page Include="MainPage.xaml" />
|
|
62
|
-
</ItemGroup>
|
|
63
|
-
</Project>
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
#include "pch.h"
|
|
2
|
-
|
|
3
|
-
#include "App.h"
|
|
4
|
-
|
|
5
|
-
#include "AutolinkedNativeModules.g.h"
|
|
6
|
-
#include "ReactPackageProvider.h"
|
|
7
|
-
|
|
8
|
-
// clang-format off
|
|
9
|
-
using namespace winrt::{{ namespaceCpp }};
|
|
10
|
-
using namespace winrt::{{ namespaceCpp }}::implementation;
|
|
11
|
-
using namespace winrt;
|
|
12
|
-
using namespace {{ xamlNamespaceCpp }};
|
|
13
|
-
using namespace {{ xamlNamespaceCpp }}::Controls;
|
|
14
|
-
using namespace {{ xamlNamespaceCpp }}::Navigation;
|
|
15
|
-
using namespace Windows::ApplicationModel;
|
|
16
|
-
|
|
17
|
-
/// <summary>
|
|
18
|
-
/// Initializes the singleton application object. This is the first line of
|
|
19
|
-
/// authored code executed, and as such is the logical equivalent of main() or
|
|
20
|
-
/// WinMain().
|
|
21
|
-
/// </summary>
|
|
22
|
-
App::App() noexcept
|
|
23
|
-
{
|
|
24
|
-
#if BUNDLE
|
|
25
|
-
JavaScriptBundleFile(L"index.windows");
|
|
26
|
-
InstanceSettings().UseWebDebugger(false);
|
|
27
|
-
InstanceSettings().UseFastRefresh(false);
|
|
28
|
-
#else
|
|
29
|
-
JavaScriptMainModuleName(L"index");
|
|
30
|
-
InstanceSettings().UseWebDebugger(true);
|
|
31
|
-
InstanceSettings().UseFastRefresh(true);
|
|
32
|
-
#endif
|
|
33
|
-
|
|
34
|
-
#if _DEBUG
|
|
35
|
-
InstanceSettings().UseDeveloperSupport(true);
|
|
36
|
-
#else
|
|
37
|
-
InstanceSettings().UseDeveloperSupport(false);
|
|
38
|
-
#endif
|
|
39
|
-
|
|
40
|
-
RegisterAutolinkedNativeModulePackages(PackageProviders()); // Includes any autolinked modules
|
|
41
|
-
|
|
42
|
-
PackageProviders().Append(make<ReactPackageProvider>()); // Includes all modules in this project
|
|
43
|
-
|
|
44
|
-
InitializeComponent();
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/// <summary>
|
|
48
|
-
/// Invoked when the application is launched normally by the end user. Other entry points
|
|
49
|
-
/// will be used such as when the application is launched to open a specific file.
|
|
50
|
-
/// </summary>
|
|
51
|
-
/// <param name="e">Details about the launch request and process.</param>
|
|
52
|
-
void App::OnLaunched(activation::LaunchActivatedEventArgs const& e)
|
|
53
|
-
{
|
|
54
|
-
super::OnLaunched(e);
|
|
55
|
-
|
|
56
|
-
Frame rootFrame = Window::Current().Content().as<Frame>();
|
|
57
|
-
rootFrame.Navigate(xaml_typename<{{ namespaceCpp }}::MainPage>(), box_value(e.Arguments()));
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/// <summary>
|
|
61
|
-
/// Invoked when application execution is being suspended. Application state is saved
|
|
62
|
-
/// without knowing whether the application will be terminated or resumed with the contents
|
|
63
|
-
/// of memory still intact.
|
|
64
|
-
/// </summary>
|
|
65
|
-
/// <param name="sender">The source of the suspend request.</param>
|
|
66
|
-
/// <param name="e">Details about the suspend request.</param>
|
|
67
|
-
void App::OnSuspending([[maybe_unused]] IInspectable const& sender, [[maybe_unused]] SuspendingEventArgs const& e)
|
|
68
|
-
{
|
|
69
|
-
// Save application state and stop any background activity
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/// <summary>
|
|
73
|
-
/// Invoked when Navigation to a certain page fails
|
|
74
|
-
/// </summary>
|
|
75
|
-
/// <param name="sender">The Frame which failed navigation</param>
|
|
76
|
-
/// <param name="e">Details about the navigation failure</param>
|
|
77
|
-
void App::OnNavigationFailed(IInspectable const&, NavigationFailedEventArgs const& e)
|
|
78
|
-
{
|
|
79
|
-
throw hresult_error(E_FAIL, hstring(L"Failed to load Page ") + e.SourcePageType().Name);
|
|
80
|
-
}
|
package/templates/cpp/src/App.h
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
#pragma once
|
|
2
|
-
|
|
3
|
-
#include "App.xaml.g.h"
|
|
4
|
-
// clang-format off
|
|
5
|
-
{{#useWinUI3}}
|
|
6
|
-
namespace activation = winrt::Microsoft::UI::Xaml;
|
|
7
|
-
{{/useWinUI3}}
|
|
8
|
-
{{^useWinUI3}}
|
|
9
|
-
namespace activation = winrt::Windows::ApplicationModel::Activation;
|
|
10
|
-
{{/useWinUI3}}
|
|
11
|
-
|
|
12
|
-
namespace winrt::{{ namespaceCpp }}::implementation
|
|
13
|
-
{
|
|
14
|
-
struct App : AppT<App>
|
|
15
|
-
{
|
|
16
|
-
App() noexcept;
|
|
17
|
-
void OnLaunched(activation::LaunchActivatedEventArgs const&);
|
|
18
|
-
void OnSuspending(IInspectable const&, Windows::ApplicationModel::SuspendingEventArgs const&);
|
|
19
|
-
void OnNavigationFailed(IInspectable const&, {{ xamlNamespaceCpp }}::Navigation::NavigationFailedEventArgs const&);
|
|
20
|
-
private:
|
|
21
|
-
using super = AppT<App>;
|
|
22
|
-
};
|
|
23
|
-
} // namespace winrt::{{ namespaceCpp }}::implementation
|
|
24
|
-
|
|
25
|
-
// clang-format on
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// AutolinkedNativeModules.g.cpp contents generated by "react-native autolink-windows"
|
|
2
|
-
// clang-format off
|
|
3
|
-
#include "pch.h"
|
|
4
|
-
#include "AutolinkedNativeModules.g.h"{{ &autolinkCppIncludes }}
|
|
5
|
-
|
|
6
|
-
namespace winrt::Microsoft::ReactNative
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
void RegisterAutolinkedNativeModulePackages(winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::ReactNative::IReactPackageProvider> const& packageProviders)
|
|
10
|
-
{ {{ &autolinkCppPackageProviders }}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// AutolinkedNativeModules.g.h contents generated by "react-native autolink-windows"
|
|
2
|
-
// clang-format off
|
|
3
|
-
#pragma once
|
|
4
|
-
|
|
5
|
-
namespace winrt::Microsoft::ReactNative
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
void RegisterAutolinkedNativeModulePackages(winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::ReactNative::IReactPackageProvider> const& packageProviders);
|
|
9
|
-
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<!-- AutolinkedNativeModules.g.targets contents generated by "react-native autolink-windows" -->
|
|
4
|
-
<ItemGroup>{{ &autolinkProjectReferencesForTargets }}
|
|
5
|
-
</ItemGroup>
|
|
6
|
-
</Project>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#include "pch.h"
|
|
2
|
-
#include "MainPage.h"
|
|
3
|
-
#if __has_include("MainPage.g.cpp")
|
|
4
|
-
#include "MainPage.g.cpp"
|
|
5
|
-
#endif
|
|
6
|
-
|
|
7
|
-
#include "App.h"
|
|
8
|
-
|
|
9
|
-
// clang-format off
|
|
10
|
-
|
|
11
|
-
using namespace winrt;
|
|
12
|
-
using namespace {{ xamlNamespaceCpp }};
|
|
13
|
-
|
|
14
|
-
namespace winrt::{{ namespaceCpp }}::implementation
|
|
15
|
-
{
|
|
16
|
-
MainPage::MainPage()
|
|
17
|
-
{
|
|
18
|
-
InitializeComponent();
|
|
19
|
-
auto app = Application::Current().as<App>();
|
|
20
|
-
ReactRootView().ReactNativeHost(app->Host());
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// clang-format on
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#pragma once
|
|
2
|
-
#include "MainPage.g.h"
|
|
3
|
-
#include <winrt/Microsoft.ReactNative.h>
|
|
4
|
-
|
|
5
|
-
// clang-format off
|
|
6
|
-
namespace winrt::{{ namespaceCpp }}::implementation
|
|
7
|
-
{
|
|
8
|
-
struct MainPage : MainPageT<MainPage>
|
|
9
|
-
{
|
|
10
|
-
MainPage();
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
namespace winrt::{{ namespaceCpp }}::factory_implementation
|
|
15
|
-
{
|
|
16
|
-
struct MainPage : MainPageT<MainPage, implementation::MainPage>
|
|
17
|
-
{
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// clang-format on
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<ImportGroup Label="PropertySheets" />
|
|
4
|
-
<PropertyGroup Label="UserMacros" />
|
|
5
|
-
<!--
|
|
6
|
-
To customize common C++/WinRT project properties:
|
|
7
|
-
* right-click the project node
|
|
8
|
-
* expand the Common Properties item
|
|
9
|
-
* select the C++/WinRT property page
|
|
10
|
-
|
|
11
|
-
For more advanced scenarios, and complete documentation, please see:
|
|
12
|
-
https://github.com/Microsoft/xlang/tree/master/src/package/cppwinrt/nuget
|
|
13
|
-
-->
|
|
14
|
-
<PropertyGroup />
|
|
15
|
-
<ItemDefinitionGroup />
|
|
16
|
-
</Project>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#include "pch.h"
|
|
2
|
-
#include "ReactPackageProvider.h"
|
|
3
|
-
#include "NativeModules.h"
|
|
4
|
-
|
|
5
|
-
// clang-format off
|
|
6
|
-
using namespace winrt::Microsoft::ReactNative;
|
|
7
|
-
|
|
8
|
-
namespace winrt::{{ namespaceCpp }}::implementation
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept
|
|
12
|
-
{
|
|
13
|
-
AddAttributedModules(packageBuilder);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
} // namespace winrt::{{ namespaceCpp }}::implementation
|
|
17
|
-
|
|
18
|
-
// clang-format on
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#pragma once
|
|
2
|
-
|
|
3
|
-
#include "winrt/Microsoft.ReactNative.h"
|
|
4
|
-
|
|
5
|
-
// clang-format off
|
|
6
|
-
namespace winrt::{{ namespaceCpp }}::implementation
|
|
7
|
-
{
|
|
8
|
-
struct ReactPackageProvider : winrt::implements<ReactPackageProvider, winrt::Microsoft::ReactNative::IReactPackageProvider>
|
|
9
|
-
{
|
|
10
|
-
public: // IReactPackageProvider
|
|
11
|
-
void CreatePackage(winrt::Microsoft::ReactNative::IReactPackageBuilder const &packageBuilder) noexcept;
|
|
12
|
-
};
|
|
13
|
-
} // namespace winrt::{{ namespaceCpp }}::implementation
|
|
14
|
-
|
|
15
|
-
// clang-format on
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#include "pch.h"
|
package/templates/cpp/src/pch.h
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#pragma once
|
|
2
|
-
|
|
3
|
-
#define NOMINMAX
|
|
4
|
-
|
|
5
|
-
#include <hstring.h>
|
|
6
|
-
#include <restrictederrorinfo.h>
|
|
7
|
-
#include <unknwn.h>
|
|
8
|
-
#include <windows.h>
|
|
9
|
-
#include <winrt/Windows.ApplicationModel.Activation.h>
|
|
10
|
-
#include <winrt/Windows.Foundation.Collections.h>
|
|
11
|
-
#include <winrt/Windows.Foundation.h>
|
|
12
|
-
#include <winrt/{{ xamlNamespace }}.Controls.Primitives.h>
|
|
13
|
-
#include <winrt/{{ xamlNamespace }}.Controls.h>
|
|
14
|
-
#include <winrt/{{ xamlNamespace }}.Data.h>
|
|
15
|
-
#include <winrt/{{ xamlNamespace }}.Interop.h>
|
|
16
|
-
#include <winrt/{{ xamlNamespace }}.Markup.h>
|
|
17
|
-
#include <winrt/{{ xamlNamespace }}.Navigation.h>
|
|
18
|
-
#include <winrt/{{ xamlNamespace }}.h>
|
|
19
|
-
|
|
20
|
-
#include <winrt/Microsoft.ReactNative.h>
|
|
21
|
-
|
|
22
|
-
#include <winrt/Microsoft.UI.Xaml.Automation.Peers.h>
|
|
23
|
-
#include <winrt/Microsoft.UI.Xaml.Controls.Primitives.h>
|
|
24
|
-
#include <winrt/Microsoft.UI.Xaml.Controls.h>
|
|
25
|
-
#include <winrt/Microsoft.UI.Xaml.Media.h>
|
|
26
|
-
#include <winrt/Microsoft.UI.Xaml.XamlTypeInfo.h>
|
|
Binary file
|