Replies: 1 comment 1 reply
-
It looks like a following problem: #12862 Update all your packages from 4.9.45 to 4.10.0-dev*** Directory.Build.props <PropertyGroup>
<UnoVersion>4.10.0-dev.491</UnoVersion>
</PropertyGroup> Directory.Packages.props <ItemGroup>
<PackageVersion Include="Uno.WinUI" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.RemoteControl" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.Skia.Gtk" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.Skia.Linux.FrameBuffer" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.Skia.Wpf" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.WebAssembly" Version="$(UnoVersion)" />
</ItemGroup> If you will see RuntimeIdentifiers error message add the following lines to your project: <PropertyGroup Condition="'$(TargetFramework)' == 'net7.0-windows10.0.19041'">
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
</PropertyGroup> For CommunityToolkit use the following approach: <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" />
</ItemGroup>
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'windows'">
<PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls" />
</ItemGroup> If after the following steps you will see the WindowsAppSDK version error -- update your SDK packages: <PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.3.230602002" /> Rebuild your project twice. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Configuration
Trouble :
What I did
But It doesn't work.
And other problem that are the result of them.
It's my first time to use uno , multipled errors were solved from docs,but these problem can't solve step by docs
Beta Was this translation helpful? Give feedback.
All reactions