This community has moved to Discord. More details here: https://platform.uno/blog/uno-platform-online-community-move-to-stackoverflow-and-discord/
jeromelaban on master
fix(MenyFlyoutPresenter): Fix T… chore: Disable test on UWP/WinUI chore: Adjust for UWP target and 2 more (compare)
jeromelaban on jela
jeromelaban on jela
chore: Reuse existing `ImageAss… (compare)
<media:RadialGradientBrush Center="0.6,0.35" GradientOrigin="0.6,0.35" RadiusY="0.67" RadiusX="0.67">
<GradientStop Color="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},Path=OnColor}" Offset="0"/>
<GradientStop Color="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},Path=OnColor}" Offset="1"/>
</media:RadialGradientBrush>
someone could help me with this issue:
VM59:1 fail: Windows.UI.Core.CoreDispatcher[0]
Dispatcher unhandled exception
System.PlatformNotSupportedException: Arg_PlatformNotSupported
at System.Threading.Thread.Start(Object parameter) in D:\a\Uno.DotnetRuntime.WebAssembly\Uno.DotnetRuntime.WebAssembly\runtime\src\mono\System.Private.CoreLib\src\System\Threading\Thread.Browser.Mono.cs:line 17
at System.Reactive.Concurrency.ConcurrencyAbstractionLayerImpl.StartThread(Action`1 action, Object state) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.cs:line 71
at System.Reactive.Concurrency.DefaultScheduler.LongRunning.LongScheduledWorkItem`1[[System.Reactive.ObserveOnObserverLongRunning`1[[ReduxSimple.ActionDispatchedWithOrigin, ReduxSimple, Version=3.6.1.0, Culture=neutral, PublicKeyToken=null]], System.Reactive, Version=4.4.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263]]..ctor(ObserveOnObserverLongRunning`1 state, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 185
at System.Reactive.Concurrency.DefaultScheduler.LongRunning.ScheduleLongRunning[ObserveOnObserverLongRunning`1](ObserveOnObserverLongRunning`1 state, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 204
i'm trying to run ReduxSimple library on wasm
viewmodel.cs
Task MyMethodAsync() => Task.CompletedTask;
page.xaml:
Click="{x:Bind ViewModel.MyMethodAsync}"
page.g.cs
case 7:
this.obj7 = target.As<Microsoft.UI.Xaml.Controls.Button>();
this.obj7Click = (global::System.Object p0, global::Microsoft.UI.Xaml.RoutedEventArgs p1) =>
{
this.dataRoot.ViewModel.MyMethodAsync(); // warning CS4014
};
(target.As<Microsoft.UI.Xaml.Controls.Button>()).Click += obj7Click;
break;
result: warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Anyone knows what's the appropiate thing to do in this case?