fix(windows): bump XAML for WinUI 2.6 (#446)

This commit is contained in:
Anna Dingler 2021-08-11 15:34:13 -04:00 коммит произвёл GitHub
Родитель 932c42d209
Коммит 44d93b7025
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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,