Questions tagged [uno-platform]

Uno is an open-source WinUI/UWP Bridge for iOS, Android, WebAssembly, macOS and Linux

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Platform specific XAML not working for wasm

Included wasm in the page namespaces like this: xmlns:wasm="http://uno.ui/wasm" and in the ignorable like this: mc:Ignorable="d wasm" then included an image that I only want ...
Rizaan Lakay's user avatar
0 votes
1 answer
29 views

How do I navigate to a web url from Uno?

I have a MenuFlyoutItem that calls a command. From the OnCommand method I would like to open a browser window based on a provided URL. How do I do that?
Robotuner's user avatar
  • 221
0 votes
1 answer
50 views

Multiple Windows with UNO platform

I am trying to create application with multiple windows using UNO platform. Does UNO support multiple windows? If so, can someone please point me to webpage showing how to do that?
Dwight Schrute's user avatar
0 votes
0 answers
31 views

How to wire up MSAL with the newest Uno platform

trying out the newest uno platform 4.1 and I wanted to use the MSAL extensions. In the startup the template added .UseAuthentication(auth => auth.AddMsal(name: "MsalAuthentication") ...
Curtis-C's user avatar
  • 133
0 votes
0 answers
45 views

setLSActiveProject failed: Error: Starting server failed

Building an app for Android using MAUI for my app Conference Live Captioning. So I decided to try the Uno Platform VS Code extension. It gave me a few errors that I was able to resolve by googling ...
Saamer's user avatar
  • 4,799
-1 votes
2 answers
184 views

How to migrate my WPF application to linux based application through UNO Platform?

I want to port my existing WPF application to the Uno Platform for the Linux operating system. What are the step-by-step processes I need to follow for this? Which APIs are incompatible, and how can I ...
Mert Oğuzhan's user avatar
0 votes
2 answers
83 views

How do I navigate to a page within a TabViewItem using Uno Platform's NavigateViewAsync?

I have a NavigationView that displays a dynamically generated tree of items, and when an item is clicked, it's supposed to open a new tab. However, instead of navigating inside the TabViewItem's ...
The Tablet's user avatar
2 votes
2 answers
246 views

WinUi MVVM, handle events from model on UI thread

To start with I'm from a WPF world where I'm used to using MVVM, however my knowledge isn't up to date with regards to the new .net API and WinUI. I'm currently trying to create a new POC using UNO ...
dennis_ler's user avatar
0 votes
0 answers
23 views

Can't use setHtmlAttribute with Uno.Winui

I am needing to use this.setHtmlAttribute. I have installed Uno.WinUi.Runtime.Webassembly as it said at this link: Embedding Existing JavaScript Components Into Uno-WASM, but when I try to ...
teop's user avatar
  • 40
0 votes
0 answers
95 views

Uno Binding programmatically in c#

Does anyone know how to do binding for Uno programmatically in c#? I found some sample code from: (https://platform.uno/docs/articles/uno-development/Uno-UI-xBind-architecture.html) which has: c18....
Ray Hsieh's user avatar
0 votes
0 answers
247 views

How to display gpkg(geopackage) in c#/ .net?

I am wanting to display a geopackage file in a .net uno platform project. (Because it's uno platform, nuget packages might work differently, that's the way it seems according to this: How to add third ...
teop's user avatar
  • 40
0 votes
1 answer
96 views

Windows Community Toolkit AttachedCardShadow and AttachedDropShadow is not working

When using the attachedDropShadow, it builds and runs with no errors, but the shadows dont work. When using the AttachedCardShadow, it doesnt build and complains about the type being not found. The ...
Rizaan Lakay's user avatar
0 votes
1 answer
120 views

Uno Platform RemoteControl - The Uno.WinUI.RemoteControl or Uno.UI.RemoteControl package has not been restored yet

I have been struggling to get the RemoteControl to consistently work for my WebAssembly head. I created the project using the built-in Uno project wizard. I am running on the following platforms: ...
techfooninja's user avatar
0 votes
1 answer
98 views

How to scale the spacing between controls in a stack panel to fit a window?

I am wanting to create a horizontal stackpanel (or something similar) that will scale the spacing of different sized controls so that the spacing between them is the same but they span the entire ...
teop's user avatar
  • 40
1 vote
0 answers
370 views

Getting an error on Nuget Pack when updating to latest Uno Platform

I'm updating my library to the latest Uno version. When executing a nuget pack command, I get the following: NU1012: Some included files are included under TFMs which are missing a platform version: ...
Maximus's user avatar
  • 1,441
2 votes
1 answer
166 views

Does uno-platform convert xaml to html or to c# when building for web with wasm?

Uno platform is able to create web apps using c# and xaml. I was wondering how the platform is able to render xaml on the web. In their documentation (at https://platform.uno/docs/articles/how-uno-...
teop's user avatar
  • 40
-3 votes
1 answer
151 views

Gold-standard Uno + ReactiveUI starter project on NET 7.0 that works

This is day 2 and I am trying to get a working starter app with Reactive UI and the Uno platform. I have been struggling with myriads of compatibility issues, runtime issues, and installation issues. ...
kyurkchyan's user avatar
  • 2,270
1 vote
1 answer
138 views

Is there a Uno-Platform head for a WinUI(xaml) and net7.0 desktop linux based app?

These are all the heads created when you run the following general command to create a new uno app "MyApp": dotnet new unoapp -o MyApp --vscode MyApp MyApp.Base MyApp.Mobile MyApp.Server ...
Allstar's user avatar
  • 439
0 votes
0 answers
51 views

Visual Studio Blend for Uno 4.x Projects

When I launch Visual Studio Blend 17.4.3 and open a just-created Uno project (.NET 7) then open a XAML document that's in the solution (MainPage.xaml), I see XAML in an editor--but I do not see any ...
Jazimov's user avatar
  • 12.7k
0 votes
1 answer
98 views

Mouse Lag in UNO Wpf/Windows

Im trying to build a high performance app on UNO platform (WPF/Windows/Wasm) that allows the user to draw primitive shapes (lines, rectanges, etc) Since it will have snapping to points, and showing ...
Tim Davis's user avatar
  • 533
0 votes
0 answers
66 views

Adding "Uno.Cupertino" or "Uno.Material" to an Uno-Platform project make the project not compile. Even a blank project

After adding "Uno.Cupertino" or "Uno.Material" to any Uno-Platform project even a newly created blank project, the project no longer builds and throws tons of build errors. Here ...
Soli's user avatar
  • 62
0 votes
0 answers
48 views

Trying to run a published Uno Hosted WASM app gives a 404 when running it

I just tried out the Uno platform and I have come across a roadblock: When I create a project with a Hosted head, i.e., hosting the Wasm app in Asp.net Core, when I run the Server application and open ...
rabejens's user avatar
  • 7,718
1 vote
0 answers
85 views

Sharing platform specific code - Uno platform

I'm studying Uno platform, and I would like to write my platform specific code in separate assemblies without using #if statements. I googled this link where they suggest using partial classes. Works ...
Bartek Wójcik's user avatar
0 votes
1 answer
102 views

Uno Platform C# Create Material Card

I am using the Uno Platform and trying to create a Material Card through C#. I have been able to find a number of examples of a Card created in XAML but nothing in C#. My current code is below to ...
Clinton Walsh's user avatar
0 votes
1 answer
199 views

Difference between oauth2/v2 vs oidc Spotify API

i'm currently trying to connect via UNO-Plattform sample to the Spotify API. https://github.com/unoplatform/Uno.Samples/blob/master/UI/Authentication.OidcDemo/Authentication.OidcDemo/Authentication....
TiMeJuMp's user avatar
  • 393
0 votes
0 answers
223 views

UWP Application deployment and package signing for distribution

We have a UWP application developed using winui3/winappsdk build on top of Uno Platform which needs to be packaged and distributed to customers. while publishing from visual studio it requires a ...
Sri Nivas's user avatar
0 votes
1 answer
305 views

Extending BindableBase to be UI thread safe for WinUI3/Uno Platform

I'm currently using the BindableBase implementation from the quiz game example recommended in the "Databinding in depth" MSDN article. Since I needed to be able to update the properties from ...
Setsu's user avatar
  • 1,188
1 vote
0 answers
59 views

Uno Platform: Error building UWP project when .Net Native toolchain is enabled

I'm trying to create a release build for my UWP project with .net native toolchain enabled and I get the following error 1> Process execution statistics (all times in milliseconds) (TaskId:226) 1&...
abrull's user avatar
  • 171
0 votes
1 answer
139 views

Is TreeView supported on Uno Platform?

I have a WinUI3 app running on Uno Platform and I'm trying to implement a TreeView. I've tried several examples that I've found on the internet but no one has worked well. The only one that has ...
Raj2001's user avatar
1 vote
1 answer
1k views

Visual Studio 2022 17.3.6 Xaml Designer not showing up for UNO platform

I've followed Get Started on Visual Studio 2022 UNO platform guide. Then I've created new app with the following platforms: When I try to open Xaml designer for MainPage.xaml - is is not appearing: ...
bairog's user avatar
  • 3,173
0 votes
0 answers
212 views

How to use TreeView in WinUI Uno Platform app

I'm struggling to implement a WinUI3 TreeView in a WinUI3 Uno Platform app. The problem is that despite using the code provided by the Uno Platform playground or the winui3 gallery apps, the frame ...
Raj2001's user avatar
0 votes
1 answer
263 views

WMC9999 This member 'Resources' has more than one item, use the Items property

Well, this is my first project with WinUI and Uno platform. I'm working on a Desktop app with WinUI and want to grant it backwards compatibility with Uno, so this is why I'm sticking to Uno project ...
Mahdi KESSAL's user avatar
1 vote
1 answer
116 views

WINUI3 Uno Platform Microsoft Store runFullTrust warning

I have been in the process of migrating one of my project from a standard UWP project to an Uno platform based project to allow me a wider variety of devices to publish to. After overcoming a number ...
Donald's user avatar
  • 399
0 votes
2 answers
151 views

Uno Platform Remove Right Spacing from NavigationView

I'm having an issue with NavigationView control, where it doesn't align with the center and keeps weird spacing at the right. My code for NavigationView is: <NavigationView ...
Denis_LT's user avatar
  • 118
0 votes
1 answer
111 views

Uno Platform Windows TextBox treats Tab key as Text instead of giving focus to next control

I'm an absolute nebie in Uno Platform and did first steps to refresh my XAML knowledge. Based on the default multiplatform Uno template I built a page where I bound a TextBox to a string property. The ...
CSharper's user avatar
  • 524
2 votes
0 answers
273 views

UNO platform Skia+GTK doesn't start

I've an app made with uno platform, that works without problems when building for UWP. But when building for Skia+GTK and running it on Windows it shows the following in the console log. fail: Windows....
Aaron Junker's user avatar
0 votes
1 answer
49 views

UnoPlatoform Desktop App DataGrid Template Column with HyperlinkButton Command Binding issue using MVVM

We are developing Desktop application using UnoPlatform in which we are using DataGrid from CommunityToolkit.WinUI.UI.Controls for displaying some data. So, my requirement is to have HyperlinkButton ...
Sri Nivas's user avatar
0 votes
0 answers
87 views

Uno Platform Winui3: Unathorized Error when calling External API using user token generated by MSAL in Uno Platform Desktop APP(UWP),

we are developing a Uno Platform desktop application with Winui3, we have a requirement to call one of the api hosted in Azure App service. we have client App registered in AAD [Multitenant enabled] ...
Sri Nivas's user avatar
0 votes
1 answer
121 views

Uno Platform Missing emulator list in debug targets for SDK style projects

Having latest Uno templates, all green uno-check, latest VS 2022 preview (17.4.0 Preview 1.0). Creating new Uno app (either via commandline or selecting from the new project wizard) including ...
sharpener's user avatar
  • 1,493
2 votes
0 answers
311 views

How to get XAML hot reload working on Uno Platform?

I've started a new Uno Platform project with the dotnet new unoapp template and have run into issues with hot reload - where XAML/C# changes are meant to be reflected in the application without ...
Illian's user avatar
  • 48
0 votes
1 answer
187 views

Uno platform: How to implement custom control on Webassembly

Having multi-target project in Uno Platform, I would like to create Wasm specific control (HtmlView). I have found some hints this is just <div> HTML content on Wasm and I should derive from ...
sharpener's user avatar
  • 1,493
0 votes
1 answer
276 views

Uno Platform UI not updating Loader when Observable property is updated ViewModel

I am developing a client using Uno Platform and WINUI3. I have small requirement to show the loader when some external API call is being made asynchronously for getting data. In fact i need this ...
Sri Nivas's user avatar
1 vote
1 answer
986 views

Are `Interaction.Behaviors` supposed to wok in WinUI 3 DataTemplated objects?

On Uno Platform project, using several data templates for TabViewItem, TreeViewItem and ListViewItem, trying to fire commands via various events, like ItemInvoked (TreeView), DoubleTapped (ListView), ...
sharpener's user avatar
  • 1,493
1 vote
1 answer
258 views

Uno Platform WASM URL routing

I'm trying to write a simple blog engine in Uno WASM. I'd need to retrive the URL string to process it and route the request to a page or a method, but cannot find any documentation on this topic. I'm ...
Paolo A's user avatar
  • 13
0 votes
1 answer
92 views

Uno Plaform - WebAssembly-specific sources

Are the WebAssembly platform specific sources available somewhere? Having some weird exceptions/behavior on wasm head when using HttpClient/HttpHandler (correctly working on standard implemenations on ...
sharpener's user avatar
  • 1,493
1 vote
2 answers
99 views

Uno Platform: Shared Assets on Android vs iOS - issues with Android

I am working on creating cross-platform apps (iOS and Android) that will functionally match a web application that I have in production at https://www.hatchpedia.com. The application allows users to ...
Jim Speaker's user avatar
  • 1,303
1 vote
1 answer
225 views

Cannot create GrpcChannel in Uno Platform WebAssembly (System.NullReferenceException)

I am trying to do a sample of Uno Platform using gRPC-Web. Therefore I got inspired by the content provided by this article. I followed the instructions of the article and created a BlazorApp which ...
Tom's user avatar
  • 110
2 votes
0 answers
365 views

Exception from HRESULT: 0x80040904

While working with UNO Plataform, at XAML mainpage, got the error "Exception from HRESULT: 0x80040904". No restart VS, rebuild solution or other things worked. Solution: Was because of ...
Fib0nacci's user avatar
-3 votes
1 answer
73 views

How to add an additional Uno head to an existing Uno solution?

I can only find commands how to create and build Uno solutions from scratch but nowhere how to add - for example an additional mobile head ? Neither Visual Studio templates offer it on such ...
Tommy's user avatar
  • 134
1 vote
0 answers
76 views

DataGrid not showing in .Droid (Uno-platform)

I made DataGrid that correctly displays data in .Wasm and .UWP, but on .Droid app it doesn't show anything (header or body). The calling to my API works and data is correctly sent to .Droid. I store ...
5ra's user avatar
  • 25

1
2 3 4 5
8