fix(windows): bump XAML for WinUI 2.6 (#446)
This commit is contained in:
Родитель
932c42d209
Коммит
44d93b7025
|
@ -2,7 +2,7 @@
|
|||
<packages>
|
||||
<!-- package id="Microsoft.ReactNative" version="1000.0.0" targetFramework="native" / -->
|
||||
<!-- package id="Microsoft.ReactNative.Cxx" version="1000.0.0" targetFramework="native" / -->
|
||||
<!-- package id="Microsoft.UI.Xaml" version="2.5.0" targetFramework="native" / -->
|
||||
<!-- package id="Microsoft.UI.Xaml" version="2.6.0" targetFramework="native" / -->
|
||||
<package id="Microsoft.Windows.CppWinRT" version="2.0.210312.4" targetFramework="native" />
|
||||
<!-- package id="ReactNative.Hermes.Windows" version="0.0.0" targetFramework="native" / -->
|
||||
<package id="nlohmann.json" version="3.9.1" targetFramework="native" />
|
||||
|
|
|
@ -362,12 +362,12 @@ function generateSolution(destPath, { autolink, useHermes, useNuGet }) {
|
|||
nuGetPackage("Microsoft.ReactNative", rnWindowsVersion),
|
||||
'<!-- package id="Microsoft.ReactNative.Cxx" version="1000.0.0" targetFramework="native" / -->':
|
||||
nuGetPackage("Microsoft.ReactNative.Cxx", rnWindowsVersion),
|
||||
'<!-- package id="Microsoft.UI.Xaml" version="2.5.0" targetFramework="native" / -->':
|
||||
nuGetPackage("Microsoft.UI.Xaml", "2.5.0"),
|
||||
'<!-- package id="Microsoft.UI.Xaml" version="2.6.0" targetFramework="native" / -->':
|
||||
nuGetPackage("Microsoft.UI.Xaml", "2.6.0"),
|
||||
"<UseExperimentalNuget>false</UseExperimentalNuget>":
|
||||
"<UseExperimentalNuget>true</UseExperimentalNuget>",
|
||||
"<WinUI2xVersionDisabled />":
|
||||
"<WinUI2xVersion>2.5.0</WinUI2xVersion>",
|
||||
"<WinUI2xVersion>2.6.0</WinUI2xVersion>",
|
||||
}
|
||||
: undefined),
|
||||
"1000\\.0\\.0": rnWindowsVersion,
|
||||
|
|
Загрузка…
Ссылка в новой задаче