unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
9.04k stars 734 forks source link

[skia.gtk] hot-reload not working with 4.7.0-dev.214 #10478

Closed spouliot closed 2 years ago

spouliot commented 2 years ago

Current behavior

Updating to 4.7.0-dev.214 and trying to edit the XAML gets me:

[Info] Launching remote control server (Port:58325, Path:/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/buildTransitive/../tools/rc/host/net6.0/Uno.UI.RemoteControl.Host.dll)
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[3]
      Hosting starting

dbug: Microsoft.AspNetCore.Hosting.Diagnostics[4]
      Hosting started

dbug: Microsoft.AspNetCore.Hosting.Diagnostics[13]
      Loaded hosting startup assembly Uno.UI.RemoteControl.Host

Hosting environment: Production
Content root path: /Users/poupou/git/uno/uno-debug-test/DebugMyApp
Now listening on: http://[::]:58325
Application started. Press Ctrl+C to shut down.

dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[39]
      Connection id "0HMM8MQ1IA36V" accepted.

dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[1]
      Connection id "0HMM8MQ1IA36V" started.

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:58325/rc - -

dbug: Microsoft.AspNetCore.Routing.RouteBase[1]
      Request successfully matched the route with name '(null)' and template 'rc'

info: Microsoft.AspNetCore.Builder.IApplicationBuilder[0]
      Accepted connection from ::1

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Starting RemoteControlServer

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/buildTransitive/../tools/rc/processors/net6.0/Uno.UI.RemoteControl.Server.Processors.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/buildTransitive/../tools/rc/processors/net6.0/Uno.Core.Extensions.Logging.Singleton.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/buildTransitive/../tools/rc/processors/net6.0/Uno.Core.Extensions.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/buildTransitive/../tools/rc/processors/net6.0/Uno.Core.Extensions.Disposables.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Registering Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor

dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      Base project path: /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj
dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      Xaml Search Paths: /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared

Searching for [Microsoft.CodeAnalysis.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.Workspaces.dll]

Searching for [Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.dll]

Searching for [Microsoft.CodeAnalysis.Workspaces.MSBuild, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.Workspaces.MSBuild, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll]

Searching for [Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.Framework.dll]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.CSharp.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll]

Searching for [Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll]

Searching for [Microsoft.CodeAnalysis.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.Features.dll]

Searching for [Microsoft.CodeAnalysis.CSharp.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.CSharp.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.CSharp.Features.dll]

Searching for [Microsoft.CodeAnalysis.VisualBasic.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [System.Composition.TypedParts, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [System.Composition.TypedParts, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/System.Composition.TypedParts.dll]

Searching for [System.Composition.Hosting, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [System.Composition.Hosting, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/System.Composition.Hosting.dll]
Searching for [System.Composition.Runtime, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [System.Composition.Runtime, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/System.Composition.Runtime.dll]

Searching for [System.Composition.AttributedModel, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [System.Composition.AttributedModel, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/System.Composition.AttributedModel.dll]

Searching for [Microsoft.CodeAnalysis.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.CSharp.dll]

Searching for [Microsoft.CodeAnalysis.VisualBasic, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.VisualBasic, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.VisualBasic.dll]

Searching for [Microsoft.DiaSymReader, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.DiaSymReader, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0/Microsoft.DiaSymReader.dll]

Searching for [Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.dll]

Searching for [Microsoft.Build.resources, Version=15.1.0.0, Culture=en-CA, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.NET.StringTools.dll]

Searching for [Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.Utilities.Core.dll]

Searching for [System.Private.Xml.resources, Version=7.0.0.0, Culture=en-CA, PublicKeyToken=cc7b13ffcd2ddd51] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]
Searching for [System.Private.Xml.resources, Version=7.0.0.0, Culture=en, PublicKeyToken=cc7b13ffcd2ddd51] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [NuGet.Versioning, Version=6.3.1.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [NuGet.Versioning, Version=6.3.1.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/usr/local/share/dotnet/sdk/6.0.403/NuGet.Versioning.dll]

Searching for [NuGet.LibraryModel, Version=6.3.1.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [NuGet.LibraryModel, Version=6.3.1.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/usr/local/share/dotnet/sdk/6.0.403/NuGet.LibraryModel.dll]

Searching for [NuGet.Configuration, Version=6.3.1.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [NuGet.Configuration, Version=6.3.1.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/usr/local/share/dotnet/sdk/6.0.403/NuGet.Configuration.dll]

Searching for [Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Loaded [Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.Tasks.Core.dll]

Searching for [Microsoft.NET.Build.Tasks.resources, Version=6.0.7.2323, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.NET.Build.Tasks.resources, Version=6.0.7.2323, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.Build.Tasks.Core.resources, Version=15.1.0.0, Culture=en-CA, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      File /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared/MainPage.xaml changed

[Verbose] Could not find document with path /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj in the workspace.

Searching for [Microsoft.CodeAnalysis.Features.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Features.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Got results after 00:00:00.3845038

[Output] Unable to apply hot reload because of a rude edit. Rebuilding the app...

[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(177,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(178,3): error ENC0020: Renaming property requires restarting the application.

[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(189,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(190,3): error ENC0020: Renaming property requires restarting the application.

dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      File /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared/MainPage.xaml changed

[Verbose] Could not find document with path /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj in the workspace.

Got results after 00:00:00.0976108
[Output] Unable to apply hot reload because of a rude edit. Rebuilding the app...

[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(182,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(183,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(194,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(195,3): error ENC0020: Renaming property requires restarting the application.

Got results after 00:00:00.0927863
[Output] Unable to apply hot reload because of a rude edit. Rebuilding the app...

[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(187,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(188,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(199,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(200,3): error ENC0020: Renaming property requires restarting the application.

dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      File /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared/MainPage.xaml changed

[Verbose] Could not find document with path /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj in the workspace.

dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      File /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared/MainPage.xaml changed

[Verbose] Could not find document with path /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj in the workspace.

Got results after 00:00:00.7312491
[Output] Unable to apply hot reload because of a rude edit. Rebuilding the app...
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(192,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(193,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(204,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(205,3): error ENC0020: Renaming property requires restarting the application.

dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      File /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared/MainPage.xaml changed

Got results after 00:00:00.0984715
[Output] Unable to apply hot reload because of a rude edit. Rebuilding the app...

[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(197,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(198,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(209,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(210,3): error ENC0020: Renaming property requires restarting the application.

[Verbose] Could not find document with path /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj in the workspace.

Got results after 00:00:00.0661305
[Output] Unable to apply hot reload because of a rude edit. Rebuilding the app...

[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(202,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(203,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(214,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(215,3): error ENC0020: Renaming property requires restarting the application.

Got results after 00:00:01.0400089
[Output] Unable to apply hot reload because of a rude edit. Rebuilding the app...

[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(207,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(208,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(219,3): error ENC0020: Renaming property requires restarting the application.
[Verbose] Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/MainPage_6bfcd265b0e202c7cdc8ed8a08970e95.cs(220,3): error ENC0020: Renaming property requires restarting the application.

dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[6]
      Connection id "0HMM8MQ1IA36V" received FIN.

Searching for [System.Net.WebSockets.resources, Version=7.0.0.0, Culture=en-CA, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

Searching for [System.Net.WebSockets.resources, Version=7.0.0.0, Culture=en, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.7.0-dev.214/tools/rc/processors/net6.0]

dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
      Connection id "0HMM8MQ1IA36V" sending FIN because: "The client closed the connection."

dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[10]
      Connection id "0HMM8MQ1IA36V" disconnecting.

info: Microsoft.AspNetCore.Builder.IApplicationBuilder[0]
      Disposing connection from ::1

fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
         at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected()
         at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
         at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
         at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
      --- End of stack trace from previous location ---
         at Uno.UI.RemoteControl.Helpers.WebSocketHelper.ReadFrame(WebSocket socket, CancellationToken token) in /home/vsts/work/1/s/src/Uno.UI.RemoteControl/Helpers/WebSocketHelper.cs:line 54
         at Uno.UI.RemoteControl.Host.RemoteControlServer.Run(WebSocket socket, CancellationToken ct) in /home/vsts/work/1/s/src/Uno.UI.RemoteControl.Host/RemoteControlServer.cs:line 95
         at Uno.UI.RemoteControl.Host.RemoteControlExtensions.<>c__DisplayClass0_0.<<UseRemoteControlServer>b__1>d.MoveNext() in /home/vsts/work/1/s/src/Uno.UI.RemoteControl.Host/RemoteControlExtensions.cs:line 36
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

warn: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[2]
      The response has already started, the error page middleware will not be executed.

fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HMM8MQ1IA36V", Request id "0HMM8MQ1IA36V:00000001": An unhandled exception was thrown by the application.
      System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
         at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected()
         at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
         at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
         at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
      --- End of stack trace from previous location ---
         at Uno.UI.RemoteControl.Helpers.WebSocketHelper.ReadFrame(WebSocket socket, CancellationToken token) in /home/vsts/work/1/s/src/Uno.UI.RemoteControl/Helpers/WebSocketHelper.cs:line 54
         at Uno.UI.RemoteControl.Host.RemoteControlServer.Run(WebSocket socket, CancellationToken ct) in /home/vsts/work/1/s/src/Uno.UI.RemoteControl.Host/RemoteControlServer.cs:line 95
         at Uno.UI.RemoteControl.Host.RemoteControlExtensions.<>c__DisplayClass0_0.<<UseRemoteControlServer>b__1>d.MoveNext() in /home/vsts/work/1/s/src/Uno.UI.RemoteControl.Host/RemoteControlExtensions.cs:line 36
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://localhost:58325/rc - - - 101 - - 15010198.5661ms

dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[2]
      Connection id "0HMM8MQ1IA36V" stopped.

Expected behavior

Work, just like it does when using stable 4.6.19

[Info] Launching remote control server (Port:52771, Path:/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/buildTransitive/../tools/rc/host/net6.0/Uno.UI.RemoteControl.Host.dll)
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[3]
      Hosting starting

dbug: Microsoft.AspNetCore.Hosting.Diagnostics[4]
      Hosting started

dbug: Microsoft.AspNetCore.Hosting.Diagnostics[13]
      Loaded hosting startup assembly Uno.UI.RemoteControl.Host

Hosting environment: Production
Content root path: /Users/poupou/git/uno/uno-debug-test/DebugMyApp
Now listening on: http://[::]:52771
Application started. Press Ctrl+C to shut down.

dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[39]
      Connection id "0HMM83GG4L4U7" accepted.

dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[1]
      Connection id "0HMM83GG4L4U7" started.

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:52771/rc - -

dbug: Microsoft.AspNetCore.Routing.RouteBase[1]
      Request successfully matched the route with name '(null)' and template 'rc'

info: Microsoft.AspNetCore.Builder.IApplicationBuilder[0]
      Accepted connection from ::1

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Starting RemoteControlServer

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/buildTransitive/../tools/rc/processors/net6.0/Uno.UI.RemoteControl.Server.Processors.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/buildTransitive/../tools/rc/processors/net6.0/Uno.Core.Extensions.Logging.Singleton.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/buildTransitive/../tools/rc/processors/net6.0/Uno.Core.Extensions.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Loading /Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/buildTransitive/../tools/rc/processors/net6.0/Uno.Core.Extensions.Disposables.dll

dbug: Uno.UI.RemoteControl.Host.RemoteControlServer[0]
      Discovery: Registering Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor

dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      Base project path: /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj
dbug: Uno.UI.RemoteControl.Host.HotReload.ServerHotReloadProcessor[0]
      Xaml Search Paths: /Users/poupou/git/uno/uno-debug-test/DebugMyApp/DebugMyApp.Shared

Searching for [Microsoft.CodeAnalysis.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.Workspaces.dll]

Searching for [Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.dll]

Searching for [Microsoft.CodeAnalysis.Workspaces.MSBuild, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.Workspaces.MSBuild, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll]

Searching for [Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.Framework.dll]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.CSharp.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll]

Searching for [Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]
Loaded [Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll]
Searching for [Microsoft.CodeAnalysis.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.Features.dll]
Searching for [Microsoft.CodeAnalysis.CSharp.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.CSharp.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.CSharp.Features.dll]
Searching for [Microsoft.CodeAnalysis.VisualBasic.Features, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [System.Composition.TypedParts, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [System.Composition.TypedParts, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/System.Composition.TypedParts.dll]

Searching for [System.Composition.Hosting, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [System.Composition.Hosting, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/System.Composition.Hosting.dll]
Searching for [System.Composition.Runtime, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [System.Composition.Runtime, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/System.Composition.Runtime.dll]
Searching for [System.Composition.AttributedModel, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [System.Composition.AttributedModel, Version=1.0.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/System.Composition.AttributedModel.dll]

Searching for [Microsoft.CodeAnalysis.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.CSharp.dll]

Searching for [Microsoft.CodeAnalysis.VisualBasic, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.CodeAnalysis.VisualBasic, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.CodeAnalysis.VisualBasic.dll]

Searching for [Microsoft.DiaSymReader, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.DiaSymReader, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0/Microsoft.DiaSymReader.dll]

Searching for [Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.dll]

Searching for [Microsoft.Build.resources, Version=15.1.0.0, Culture=en-CA, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.NET.StringTools.dll]

Searching for [Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.Utilities.Core.dll]

Searching for [System.Private.Xml.resources, Version=7.0.0.0, Culture=en-CA, PublicKeyToken=cc7b13ffcd2ddd51] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [System.Private.Xml.resources, Version=7.0.0.0, Culture=en, PublicKeyToken=cc7b13ffcd2ddd51] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Loaded [Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] from [/usr/local/share/dotnet/sdk/6.0.403/Microsoft.Build.Tasks.Core.dll]

Searching for [NuGet.Common, Version=6.3.1.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.NET.Build.Tasks.resources, Version=6.0.7.2323, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.NET.Build.Tasks.resources, Version=6.0.7.2323, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.Build.Tasks.Core.resources, Version=15.1.0.0, Culture=en-CA, PublicKeyToken=b03f5f7f11d50a3a] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en-CA, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Searching for [Microsoft.CodeAnalysis.CSharp.Workspaces.resources, Version=4.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35] from [/Users/poupou/.nuget/packages/uno.winui.remotecontrol/4.6.19/tools/rc/processors/net6.0]

Got results after 00:00:00.6170834

How to reproduce it (as minimally and precisely as possible)

diff --git a/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj b/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj
index 2d06456..093f828 100644
--- a/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj
+++ b/DebugMyApp/DebugMyApp.Skia.Gtk/DebugMyApp.Skia.Gtk.csproj
@@ -16,10 +16,10 @@
   </ItemGroup>
   <ItemGroup>
     <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="5.0.0" />
-    <PackageReference Include="Uno.WinUI.Skia.Gtk" Version="4.6.19" />
-    <PackageReference Include="Uno.WinUI.RemoteControl" Version="4.6.19" Condition="'$(Configuration)'=='Debug'" />
-    <PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="4.6.19" />
-    <PackageReference Include="Uno.WinUI.Lottie" Version="4.6.19" />
+    <PackageReference Include="Uno.WinUI.Skia.Gtk" Version="4.7.0-dev.214" />^M
+    <PackageReference Include="Uno.WinUI.RemoteControl" Version="4.7.0-dev.214" Condition="'$(Configuration)'=='Debug'" />^M
+    <PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="4.7.0-dev.214" />^M
+    <PackageReference Include="Uno.WinUI.Lottie" Version="4.7.0-dev.214" />^M
     <PackageReference Include="SkiaSharp.Views.Uno.WinUI" Version="2.88.3" />
     <PackageReference Include="SkiaSharp.Skottie" Version="2.88.3" />
   </ItemGroup>

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

jeromelaban commented 2 years ago

Some updates are coming :)

spouliot commented 2 years ago

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
jeromelaban commented 2 years ago

I had too many updates at once to test reliably, will adjust now.

spouliot commented 2 years ago

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.