-
Describe the bugI am not able to build Android and iOS project in Visual Studio 2026 (.NET 10). To Reproduce
Desktop and Browser projects build and run fine Android build fails with:
iOS build fails with:
Attempt to update NuGet packages fails for these:
I tried manually change all projects target to .NET 10 in project settings. Android build errors afterwards:
iOS build error afterwards:
NuGet packages update errrors afterwards:
Expected behavior
Desktop and Browser, Android and iOS projects build and run. Updating Avalonia.Android, Avalonia.iOS and Xamarin.AndroidX.Core.SplashScreen NuGetPackages to latest succeeds. Avalonia version11.12.0 (latest version of Avalonia for Visual Studio extension), 11.3.9 (packages Avalonia.Android and Avalonia.iOS - cannot be updated to latest 11.3.11) OSWindows Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Update: How I made it working is editing project files. For Android project: For iOS project: For remaining projects: After that all builds and works. |
Beta Was this translation helpful? Give feedback.
Update: How I made it working is editing project files.
For Android project:
For iOS project:
For remaining projects:
<TargetFramework>net10.0</TargetFramework>After that all builds and works.