UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    .NET6 on UT

    Scheduled Pinned Locked Moved App Development
    avalonia.uiuno platformnet6
    26 Posts 9 Posters 5.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • dizzyD Offline
        dizzy
        last edited by

        By the way, is it possible to run appimages on UT? Install flatpacks or snaps?

        Pixel 3a XL - UT stable - Daily driver
        Pinephone - UT dev
        Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

        arubislanderA 1 Reply Last reply Reply Quote 0
        • arubislanderA Offline
          arubislander @dizzy
          last edited by

          @dizzy none of the above is readily possible. AppImages could theoretically be made to work, but none had dedicated themselves to the effort.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (24.04 preview)
          JingPad (24.04 preview)
          PinePhone OG (20.04)
          Meizu Pro 5 (16.04 DEV)

          dizzyD A 2 Replies Last reply Reply Quote 0
          • dizzyD Offline
            dizzy @arubislander
            last edited by dizzy

            @arubislander Yep, I'm starting to think it will only run on Plasma Mobile. I will try it again when my Pixel 3a arrives but then I don't have more time for it at the moment. Maybe in the future.

            Pixel 3a XL - UT stable - Daily driver
            Pinephone - UT dev
            Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

            1 Reply Last reply Reply Quote 0
            • dizzyD Offline
              dizzy
              last edited by dizzy

              Thanks all!
              By the way, I also found this article:
              https://www.codingnagger.com/2021/02/14/linux-app-for-pinephone-with-pain-and-net-core/

              Pixel 3a XL - UT stable - Daily driver
              Pinephone - UT dev
              Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

              1 Reply Last reply Reply Quote 0
              • A Offline
                aarontheissueguy @arubislander
                last edited by

                @arubislander Thats actually an interristing thought. I wonder what it would take.

                1 Reply Last reply Reply Quote 0
                • dizzyD Offline
                  dizzy
                  last edited by dizzy

                  I have done some progress. .NET 6 ConsoleApp running on UT. This is on Pinephone. Sorry about the text πŸ™‚

                  ConsoleApp.jpg

                  Error when launching Avalonia App:

                  AvaloniaApp.jpg

                  Pixel 3a XL - UT stable - Daily driver
                  Pinephone - UT dev
                  Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thousandtopics @dizzy
                    last edited by

                    @dizzy not .Net but c# or c++ inside Godot can do the job, IDK, Think about it.

                    dizzyD 1 Reply Last reply Reply Quote 0
                    • dizzyD Offline
                      dizzy @thousandtopics
                      last edited by dizzy

                      @thousandtopics Actually, dotnet is working in UT. Just have not got it running with Avalonia as a UI framework yet and maybe I never will. I have got it running on Phosh though, even if the scaling was all off. It opened as a movable window. Im talking about created and built with no modifications and thats what Im interesting in. Uno Platform gave the same result.
                      I dont know what Godot is.

                      Pixel 3a XL - UT stable - Daily driver
                      Pinephone - UT dev
                      Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

                      AppLeeA 1 Reply Last reply Reply Quote 0
                      • AppLeeA Offline
                        AppLee @dizzy
                        last edited by

                        @dizzy said in .NET6 on UT:

                        I dont know what Godot is.

                        You'll have to wait for it :face_with_tears_of_joy:

                        Sorry for the joke ; couldn't resist.
                        Here is about the Gogot engine: https://godotengine.org/

                        1 Reply Last reply Reply Quote 1
                        • flohackF Offline
                          flohack
                          last edited by

                          @dizzy said in .NET6 on UT:

                          all off. It opened as a movable window. Im talking about created and built with no modifications and t

                          @dizzy as I am a professional .NET dev I would also be interested in this. The biggest challenge would be to get Avalonia to work with Mir instead of X πŸ˜› - by the way, did you see https://docs.microsoft.com/en-us/dotnet/maui/what-is-maui - I think thats the future, and we should aim for this.

                          Avalonia is nice, but I dont feel there is much development happening.

                          @fredldotme maybe you can help with your expertise which API for rendering a UI we should use in the future (and, since 20.04 is "far", what we can do now in 16.04 :P)

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          fredldotmeF 1 Reply Last reply Reply Quote 0
                          • fredldotmeF Offline
                            fredldotme @flohack
                            last edited by

                            @flohack I would recommend going the Wayland way in case we want to care less about Halium 7.1 and lower in the long run.

                            I know it's not nice but it's "the future". For VSCodium I let everything run through XMir and it shows. It's unstable, has issues that are hard to fix and changes the experience immensely depending on form factor.

                            If X11 is the only way then we should focus on getting XWayland working well.

                            With that being said, I don't expect anyone to support Mirclient any longer. We depend on it hard but I would not recommend it for new toolkits. It can be done but IMO the energy is best reserved for getting Wayland to work nicely.

                            flohackF 1 Reply Last reply Reply Quote 0
                            • flohackF Offline
                              flohack @fredldotme
                              last edited by

                              @fredldotme fully agreed. MS seems to have ignored Linux support but people are already complaining https://github.com/dotnet/maui/discussions/339

                              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post