Comments (8)
from avaloniamauihybrid.
Do you have using Avalonia.Maui;
in your file? This code should be enough, and you can try it in our samples.
from avaloniamauihybrid.
Yes I have, that's not the issue. The issue is, that in the following part of the code:
As you can see somehow the system selects the last one instead of the iOS part.
from avaloniamauihybrid.
I made a repo which can help to reproduce the issue: https://github.com/z-eh/avalonia-maui-bug-repro
from avaloniamauihybrid.
I can build your repro with no issues
from avaloniamauihybrid.
@z-eh can you try to run "dotnet build" on your solution? And if there is an error - send it here. Possibly you are missing .NET workloads.
As you can see somehow the system selects the last one instead of the iOS part.
It's just an IDE showing the least specific option. During the build, for "net8.0-ios" project "#if IOS" branch should be selected.
from avaloniamauihybrid.
Hi, my workloads are fine, but something is not okay.
Workloads:
from avaloniamauihybrid.
I got the root cause of the issue.
My .NET 8 SDK was at version 8.0.200, after I upgraded it to the 8.0.201 the issue is resolved.
Thanks for the tips.
from avaloniamauihybrid.
Related Issues (17)
- macOS support
- Cannot run AvaloniaSample.Android HOT 12
- mauihybrid solution with all plataforms even without maui HOT 4
- stable nuget package HOT 3
- erros when compiling a blank solution Avalonia 11.06 with avalonia.maui and net8.0 and communitytoolkit.mvvm 8.2.2 HOT 6
- Error when using MAUI 8.0.6 HOT 4
- Java.Lang.IllegalArgumentException when try the sample HOT 2
- failed to request storage permission on android
- Using MAUI control causes build error: Error AVLN:0004 Avalonia: Unable to resolve suitable regular or attached property Name on type ZXing.Net.MAUI.Controls HOT 2
- Using bindings for MAUI controls causes view to not be rendered at all HOT 10
- Embedding AvaloniaView in a Maui Control from an AvaloniaApp HOT 1
- iOS Crash with Hot Reload enabled HOT 4
- "Inverse" Avalonia Hybrid HOT 3
- Creating MAUI Handler from Avalonia and replacing maui native handlers HOT 1
- Question about native behavior on iOS HOT 1
- Windows support HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avaloniamauihybrid.