Open HaoLife opened 2 years ago
Uno Platform extension for Code source in where?
Thanks for the report. The VS Code extension is not open source.
I don't understand the issue here, what are the errors you are seeing?
Using Uno.UI.RemoteControl in VScode, XAML smart notification and hot reload are effective. However Uno.WinUI.RemoteControl does not take effect. It seems that the plug-in in VScode is not started
The Uno.Winui.RemoteControl mode does not have logs Launching remote control server (Port:8900,
Thanks for the details!
@HaoLife I'm not able to reproduce the behavior you're describing. Which project are you selecting as the active project ? (using the palette with OmniSharp: Select Project
)
dotnet new -i Uno.ProjectTemplates.Dotnet::4.4.13
dotnet new unoapp -o MyNetApp --vscode
cd MyNetApp
code .
F1 + OmniSharp: Select Project + MyNetApp.Wasm
log: Now listening on: http://[::]:8900
Now seems to be normal
The project has not started up
Unoapp template also cannot use hot reload before, now seems to be normal, unoapp-extensions of the template or not
mac os 12.4 Uno Platform v0.4.0 Visual Studio Code 1.70.2
On my MAC, Hot Reload doesn't boot, but on Windows it does
Current behavior
Winui project in startup errors
uno platform - xaml
info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: d:\project\UnoAppSamples
uno platform - hot reload
Don't have any news
Expected behavior
Uno.UI project in start success
uno platform - xaml
info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: c:\Users\liu\Desktop\uno\MyApp info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: c:\Users\liu\Desktop\uno\MyApp warn: Uno.LSP.Roslyn.RoslynServerTarget[0] Cleared ProjectStringCache info: Uno.LSP.Roslyn.RoslynServerTarget[0] Compilation succeeded (_knownNamespaces:2, _typeNamespaceLookup:590) info: Uno.LSP.Roslyn.RoslynServerTarget[0] Waiting for file changes...
uno platform - hot reload
[Info] Launching remote control server (Port:8900, Path:C:\Users\liu.nuget\packages\uno.ui.remotecontrol\4.4.13\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: c:\Users\liu\Desktop\uno\MyApp
Now listening on: http://[::]:8900 Application started. Press Ctrl+C to shut down.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
Yes
Environment
Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
NuGet package version(s)
vs code extensions Uno Platform - v0.4.0 nuget package Uno.WinUI.* 4.4.5
Affected platforms
No response
IDE
Visual Studio Code
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response