Closed ADD-David-Antolin closed 2 months ago
Thanks. We'll be fixing this in Uno.Sdk, though in the meantime you should be able to add an explicit package reference to Uno.WinUI.DevServer.Messaging
to get you going.
@jeromelaban I did that but still does not find the class UpdateFile
.
Current behavior
A project with Uno.Sdk + Uno.UI.RuntimeTests.Engine does not compile for WinUI.
Expected behavior
A project with Uno.Sdk + Uno.UI.RuntimeTests.Engine compiles for all targets.
How to reproduce it (as minimally and precisely as possible)
RuntimeTestEngineBug.zip
Open the repro project and compile UnoApp1. The following errors should appear:
CS0234: The type or namespace name 'Messages' does not exist in the namespace 'Uno.UI.RemoteControl.HotReload' (are you missing an assembly reference? CS0246: The type or namespace name 'UpdateFile' could not be found (are you missing an assembly reference?
Environment
Nuget Package:
Uno.WinUI 5.2.95 Uno.WinUI.DevServer 5.2.95 Uno.RuntimeTests.Engine 0.36.0-dev.124
Affected platform(s):
Visual Studio:
Anything else we need to know?
The problem seems to be that now
Uno.WinUI.DevServer
is applied to WinUI target framework byUno.Sdk
, but the WinUI version of DevServer does not have neither the dependency toUno.WinUI.DevServer.Messaging
nor access to the classUpdateFile
.