@@ -10,6 +10,9 @@ exports[`projectConfig - MissingProjectFilesApp (Ignore react-native.config.js)
10
10
" project" : {
11
11
" projectFile" : " Error: No app project file found, please specify in react-native.config." ,
12
12
},
13
+ " rnwConfig" : {
14
+ " init-windows" : {},
15
+ },
13
16
" solutionFile" : " Error: No app solution file found, please specify in react-native.config." ,
14
17
" sourceDir" : " windows" ,
15
18
}
@@ -21,6 +24,9 @@ exports[`projectConfig - MissingProjectFilesApp (Use react-native.config.js) 1`]
21
24
" project" : {
22
25
" projectFile" : " Error: Project is required but not specified in react-native.config." ,
23
26
},
27
+ " rnwConfig" : {
28
+ " init-windows" : {},
29
+ },
24
30
" solutionFile" : " Error: Solution file is required but not specified in react-native.config." ,
25
31
" sourceDir" : " windows" ,
26
32
}
@@ -32,7 +38,6 @@ exports[`projectConfig - SimpleCSharpApp (Ignore react-native.config.js) 1`] = `
32
38
" ReactExperimentalFeaturesSet" : " true" ,
33
39
" UseExperimentalNuget" : " false" ,
34
40
" UseHermes" : " false" ,
35
- " UseWinUI3" : " false" ,
36
41
},
37
42
" folder" : StringContaining " SimpleCSharpApp" ,
38
43
" project" : {
@@ -41,6 +46,11 @@ exports[`projectConfig - SimpleCSharpApp (Ignore react-native.config.js) 1`] = `
41
46
" projectLang" : " cs" ,
42
47
" projectName" : " SimpleCSharpApp" ,
43
48
},
49
+ " rnwConfig" : {
50
+ " init-windows" : {
51
+ " template" : " old/uwp-cs-app" ,
52
+ },
53
+ },
44
54
" solutionFile" : " SimpleCSharpApp.sln" ,
45
55
" sourceDir" : " windows" ,
46
56
}
@@ -52,7 +62,6 @@ exports[`projectConfig - SimpleCSharpApp (Use react-native.config.js) 1`] = `
52
62
" ReactExperimentalFeaturesSet" : " true" ,
53
63
" UseExperimentalNuget" : " false" ,
54
64
" UseHermes" : " false" ,
55
- " UseWinUI3" : " false" ,
56
65
},
57
66
" folder" : StringContaining " SimpleCSharpApp" ,
58
67
" project" : {
@@ -61,6 +70,11 @@ exports[`projectConfig - SimpleCSharpApp (Use react-native.config.js) 1`] = `
61
70
" projectLang" : " cs" ,
62
71
" projectName" : " SimpleCSharpApp" ,
63
72
},
73
+ " rnwConfig" : {
74
+ " init-windows" : {
75
+ " template" : " old/uwp-cs-app" ,
76
+ },
77
+ },
64
78
" solutionFile" : " SimpleCSharpApp.sln" ,
65
79
" sourceDir" : " windows" ,
66
80
}
@@ -72,7 +86,6 @@ exports[`projectConfig - SimpleCppApp (Ignore react-native.config.js) 1`] = `
72
86
" ReactExperimentalFeaturesSet" : " true" ,
73
87
" UseExperimentalNuget" : " false" ,
74
88
" UseHermes" : " false" ,
75
- " UseWinUI3" : " false" ,
76
89
},
77
90
" folder" : StringContaining " SimpleCppApp" ,
78
91
" project" : {
@@ -81,6 +94,11 @@ exports[`projectConfig - SimpleCppApp (Ignore react-native.config.js) 1`] = `
81
94
" projectLang" : " cpp" ,
82
95
" projectName" : " SimpleCppApp" ,
83
96
},
97
+ " rnwConfig" : {
98
+ " init-windows" : {
99
+ " template" : " old/uwp-cpp-app" ,
100
+ },
101
+ },
84
102
" solutionFile" : " SimpleCppApp.sln" ,
85
103
" sourceDir" : " windows" ,
86
104
}
@@ -92,7 +110,6 @@ exports[`projectConfig - SimpleCppApp (Use react-native.config.js) 1`] = `
92
110
" ReactExperimentalFeaturesSet" : " true" ,
93
111
" UseExperimentalNuget" : " false" ,
94
112
" UseHermes" : " false" ,
95
- " UseWinUI3" : " false" ,
96
113
},
97
114
" folder" : StringContaining " SimpleCppApp" ,
98
115
" project" : {
@@ -101,6 +118,11 @@ exports[`projectConfig - SimpleCppApp (Use react-native.config.js) 1`] = `
101
118
" projectLang" : " cpp" ,
102
119
" projectName" : " SimpleCppApp" ,
103
120
},
121
+ " rnwConfig" : {
122
+ " init-windows" : {
123
+ " template" : " old/uwp-cpp-app" ,
124
+ },
125
+ },
104
126
" solutionFile" : " SimpleCppApp.sln" ,
105
127
" sourceDir" : " windows" ,
106
128
}
@@ -112,7 +134,6 @@ exports[`projectConfig - WithExperimentalNuget (Ignore react-native.config.js) 1
112
134
" ReactExperimentalFeaturesSet" : " true" ,
113
135
" UseExperimentalNuget" : " true" ,
114
136
" UseHermes" : " false" ,
115
- " UseWinUI3" : " false" ,
116
137
},
117
138
" folder" : StringContaining " WithExperimentalNuget" ,
118
139
" project" : {
@@ -121,6 +142,11 @@ exports[`projectConfig - WithExperimentalNuget (Ignore react-native.config.js) 1
121
142
" projectLang" : " cpp" ,
122
143
" projectName" : " WithExperimentalNuGet" ,
123
144
},
145
+ " rnwConfig" : {
146
+ " init-windows" : {
147
+ " template" : " old/uwp-cpp-app" ,
148
+ },
149
+ },
124
150
" solutionFile" : " WithExperimentalNuGet.sln" ,
125
151
" sourceDir" : " windows" ,
126
152
}
@@ -132,7 +158,6 @@ exports[`projectConfig - WithExperimentalNuget (Use react-native.config.js) 1`]
132
158
" ReactExperimentalFeaturesSet" : " true" ,
133
159
" UseExperimentalNuget" : " true" ,
134
160
" UseHermes" : " false" ,
135
- " UseWinUI3" : " false" ,
136
161
},
137
162
" folder" : StringContaining " WithExperimentalNuget" ,
138
163
" project" : {
@@ -141,6 +166,11 @@ exports[`projectConfig - WithExperimentalNuget (Use react-native.config.js) 1`]
141
166
" projectLang" : " cpp" ,
142
167
" projectName" : " WithExperimentalNuGet" ,
143
168
},
169
+ " rnwConfig" : {
170
+ " init-windows" : {
171
+ " template" : " old/uwp-cpp-app" ,
172
+ },
173
+ },
144
174
" solutionFile" : " WithExperimentalNuGet.sln" ,
145
175
" sourceDir" : " windows" ,
146
176
}
@@ -152,7 +182,6 @@ exports[`projectConfig - WithHermes (Ignore react-native.config.js) 1`] = `
152
182
" ReactExperimentalFeaturesSet" : " true" ,
153
183
" UseExperimentalNuget" : " false" ,
154
184
" UseHermes" : " true" ,
155
- " UseWinUI3" : " false" ,
156
185
},
157
186
" folder" : StringContaining " WithHermes" ,
158
187
" project" : {
@@ -161,6 +190,11 @@ exports[`projectConfig - WithHermes (Ignore react-native.config.js) 1`] = `
161
190
" projectLang" : " cpp" ,
162
191
" projectName" : " WithHermes" ,
163
192
},
193
+ " rnwConfig" : {
194
+ " init-windows" : {
195
+ " template" : " old/uwp-cpp-app" ,
196
+ },
197
+ },
164
198
" solutionFile" : " WithHermes.sln" ,
165
199
" sourceDir" : " windows" ,
166
200
}
@@ -172,7 +206,6 @@ exports[`projectConfig - WithHermes (Use react-native.config.js) 1`] = `
172
206
" ReactExperimentalFeaturesSet" : " true" ,
173
207
" UseExperimentalNuget" : " false" ,
174
208
" UseHermes" : " true" ,
175
- " UseWinUI3" : " false" ,
176
209
},
177
210
" folder" : StringContaining " WithHermes" ,
178
211
" project" : {
@@ -181,6 +214,11 @@ exports[`projectConfig - WithHermes (Use react-native.config.js) 1`] = `
181
214
" projectLang" : " cpp" ,
182
215
" projectName" : " WithHermes" ,
183
216
},
217
+ " rnwConfig" : {
218
+ " init-windows" : {
219
+ " template" : " old/uwp-cpp-app" ,
220
+ },
221
+ },
184
222
" solutionFile" : " WithHermes.sln" ,
185
223
" sourceDir" : " windows" ,
186
224
}
@@ -197,6 +235,9 @@ exports[`projectConfig - WithIndirectDependency (Ignore react-native.config.js)
197
235
" project" : {
198
236
" projectFile" : " Error: Too many app project files found, please specify in react-native.config." ,
199
237
},
238
+ " rnwConfig" : {
239
+ " init-windows" : {},
240
+ },
200
241
" solutionFile" : " WithIndirectDependency.sln" ,
201
242
" sourceDir" : " windows" ,
202
243
}
@@ -216,6 +257,11 @@ exports[`projectConfig - WithIndirectDependency (Use react-native.config.js) 1`]
216
257
" projectLang" : " cpp" ,
217
258
" projectName" : " WithIndirectDependency" ,
218
259
},
260
+ " rnwConfig" : {
261
+ " init-windows" : {
262
+ " template" : " old/uwp-cpp-app" ,
263
+ },
264
+ },
219
265
" solutionFile" : " WithIndirectDependency.sln" ,
220
266
" sourceDir" : " windows" ,
221
267
" useWinUI3" : false ,
@@ -228,7 +274,6 @@ exports[`projectConfig - WithWinUI3 (Ignore react-native.config.js) 1`] = `
228
274
" ReactExperimentalFeaturesSet" : " true" ,
229
275
" UseExperimentalNuget" : " false" ,
230
276
" UseHermes" : " false" ,
231
- " UseWinUI3" : " true" ,
232
277
},
233
278
" folder" : StringContaining " WithWinUI3" ,
234
279
" project" : {
@@ -237,6 +282,11 @@ exports[`projectConfig - WithWinUI3 (Ignore react-native.config.js) 1`] = `
237
282
" projectLang" : " cpp" ,
238
283
" projectName" : " WithWinUI3" ,
239
284
},
285
+ " rnwConfig" : {
286
+ " init-windows" : {
287
+ " template" : " old/uwp-cpp-app" ,
288
+ },
289
+ },
240
290
" solutionFile" : " WithWinUI3.sln" ,
241
291
" sourceDir" : " windows" ,
242
292
}
@@ -248,7 +298,6 @@ exports[`projectConfig - WithWinUI3 (Use react-native.config.js) 1`] = `
248
298
" ReactExperimentalFeaturesSet" : " true" ,
249
299
" UseExperimentalNuget" : " false" ,
250
300
" UseHermes" : " false" ,
251
- " UseWinUI3" : " true" ,
252
301
},
253
302
" folder" : StringContaining " WithWinUI3" ,
254
303
" project" : {
@@ -257,6 +306,11 @@ exports[`projectConfig - WithWinUI3 (Use react-native.config.js) 1`] = `
257
306
" projectLang" : " cpp" ,
258
307
" projectName" : " WithWinUI3" ,
259
308
},
309
+ " rnwConfig" : {
310
+ " init-windows" : {
311
+ " template" : " old/uwp-cpp-app" ,
312
+ },
313
+ },
260
314
" solutionFile" : " WithWinUI3.sln" ,
261
315
" sourceDir" : " windows" ,
262
316
}
@@ -281,14 +335,6 @@ exports[`useWinUI3=true in react-native.config.js, UseWinUI3=false in Experiment
281
335
-->
282
336
<UseHermes >false</UseHermes >
283
337
284
- <!--
285
- Changes compilation to assume use of WinUI 3 instead of System XAML.
286
- Requires creation of new project.
287
-
288
- See https://microsoft.github.io/react-native-windows/docs/winui3
289
- -->
290
- <UseWinUI3 >false</UseWinUI3 >
291
-
292
338
<!--
293
339
Changes compilation to assume use of Microsoft.ReactNative NuGet packages
294
340
instead of building the framework from source.
0 commit comments