Coder Social home page Coder Social logo

Comments (8)

z-eh avatar z-eh commented on September 14, 2024

image

from avaloniamauihybrid.

maxkatz6 avatar maxkatz6 commented on September 14, 2024

Do you have using Avalonia.Maui; in your file? This code should be enough, and you can try it in our samples.

from avaloniamauihybrid.

z-eh avatar z-eh commented on September 14, 2024

Yes I have, that's not the issue. The issue is, that in the following part of the code:
image
As you can see somehow the system selects the last one instead of the iOS part.

from avaloniamauihybrid.

z-eh avatar z-eh commented on September 14, 2024

I made a repo which can help to reproduce the issue: https://github.com/z-eh/avalonia-maui-bug-repro

from avaloniamauihybrid.

maxkatz6 avatar maxkatz6 commented on September 14, 2024

I can build your repro with no issues
image

from avaloniamauihybrid.

maxkatz6 avatar maxkatz6 commented on September 14, 2024

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

z-eh avatar z-eh commented on September 14, 2024

Hi, my workloads are fine, but something is not okay.
image
Workloads:
image

from avaloniamauihybrid.

z-eh avatar z-eh commented on September 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.