Closed spouliot closed 2 years ago
Some updates are coming :)
I have a different error with 4.7.0-dev.275
when attempting the same thing (as above) with both net6.0
and net-7.0
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Connecting to [ws://localhost:56051/rc]
fail: Microsoft.UI.Xaml.BrushTransition[0]
The member BrushTransition.BrushTransition() is not implemented in Uno.
fail: Microsoft.UI.Xaml.BrushTransition[0]
The member TimeSpan BrushTransition.Duration is not implemented in Uno.
fail: Microsoft.UI.Xaml.Controls.ContentPresenter[0]
The member BrushTransition ContentPresenter.BackgroundTransition is not implemented in Uno.
dbug: Uno.UI.RemoteControl.RemoteControlClient[0]
Connected to ws://localhost:56051/rc
dbug: Uno.UI.RemoteControl.RemoteControlClient[0]
ServerProcessorsConfigurationAttribute ProcessorsPath=/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.275/buildTransitive/../tools/rc/processors
dbug: Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor[0]
ProjectConfigurationAttribute=/Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj, Paths=1
trce: Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor[0]
Metadata Updates runtime capabilities: Baseline AddMethodToExistingType AddStaticFieldToExistingType AddInstanceFieldToExistingType NewTypeDefinition ChangeCustomAttributes UpdateParameters
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Sending Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Server Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Sending Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Server Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Sending Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Server Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Sending Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Server Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Received frame [hotreload/FileReload]
dbug: Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor[0]
.NET Hot Reload is enabled, skipping XAML Reader reload
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Received frame [hotreload/AssemblyDeltaReload]
trce: Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor[0]
Applying IL Delta after /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared/MainPage.xaml, Guid:38d741a2-bec9-4f2e-a334-51fbe09b2834
dbug: Uno.UI.RemoteControl.RemoteControlClient[0]
Failed to connect to the server (System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.InternalRead(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor.ReadIntArray(BinaryReader binaryReader) in /__w/1/s/src/Uno.UI.RemoteControl/HotReload/ClientHotReloadProcessor.MetadataUpdate.cs:line 120
at Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor.AssemblyReload(AssemblyDeltaReload assemblyDeltaReload) in /__w/1/s/src/Uno.UI.RemoteControl/HotReload/ClientHotReloadProcessor.MetadataUpdate.cs:line 96
at Uno.UI.RemoteControl.HotReload.ClientHotReloadProcessor.ProcessFrame(Frame frame) in /__w/1/s/src/Uno.UI.RemoteControl/HotReload/ClientHotReloadProcessor.cs:line 49
at Uno.UI.RemoteControl.RemoteControlClient.ProcessMessages() in /__w/1/s/src/Uno.UI.RemoteControl/RemoteControlClient.cs:line 269
at Uno.UI.RemoteControl.RemoteControlClient.StartConnection() in /__w/1/s/src/Uno.UI.RemoteControl/RemoteControlClient.cs:line 211)
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Sending Keepalive frame
trce: Uno.UI.RemoteControl.RemoteControlClient[0]
Sending Keepalive frame
I had too many updates at once to test reliably, will adjust now.
This works fine with 4.7-dev.284
except XAML reload does not work anymore while debugging. Kind of expected as it's now powered by C# hot reload, but that needs to be reflected inside the getting started documentation.
Current behavior
Updating to
4.7.0-dev.214
and trying to edit the XAML gets me:Expected behavior
Work, just like it does when using stable
4.6.19
How to reproduce it (as minimally and precisely as possible)
*.Skia.Gtk.csproj
to use4.7.0-dev.214
Workaround
No response
Works on UWP/WinUI
No response
Environment
No response
NuGet package version(s)
4.7.0-dev.214
Affected platforms
Skia (GTK on Linux/macOS/Windows)
IDE
Visual Studio Code
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response