Skip to content

VSCode unable to use HD until I restart DevServer #21990

Closed

Description

@Jen-Uno

Discussed in #21939

Originally posted by mcNets November 25, 2025
Working on a new solution with this folder structure:

- src
   | --- Uno library
       | --- Uno library.sln
   | --- XUnit test
       | ---- Xunit test.csproj
   | --- Uno demo app
       | --- Uno demo app
           | --- Uno demo app.csproj

"Uno.Sdk": "6.4.24"

Opening the solution in vscode, selecting the target framework net10.0-desktop and runing it using Ctrl + F5 shows this error message:

image

I have to manually execute the command: Uno platform: Restart Dev server. and then it works fine.

vscode

Version: 1.107.0-insider (user setup)
Commit: 51e7119ccb43f1e1dbb3d059bfc9bac09eebb8cb
Date: 2025-11-25T07:07:56.708Z
Electron: 39.2.3
ElectronBuildId: 12825439
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

Uno extension

Identifier: unoplatform.vscode
Version   : 0.23.6

If I close and reopen, it happens again.

Output Logs

Uno Platform

[Info] [uno.solution] 0 (Loading...)
[Info] [uno.check] 1 (Pending)
[Info] [uno.dev_server] 1 (Pending)
[Info] Launching XAML language server c:\Users\mcnets\.vscode-insiders\extensions\unoplatform.vscode-0.23.6\bin\lshost\net10.0\Uno.LSP.Host.dll
[Info] Telemetry host connected.
[Info] XAML language server c:\Users\mcnets\.vscode-insiders\extensions\unoplatform.vscode-0.23.6\bin\lshost\net10.0\Uno.LSP.Host.dll successfully started
[Info] Found 'ms-dotnettools.csharp' version 2.102.30.
[Info] Found 'ms-dotnettools.csdevkit' version 1.80.7.
[Info] C# extension onServerStateChange API is available.
[Info] Running in Dev Kit mode
[Info] Uno Platform "dotnet new" templates are already installed. The templates may be updated by running "dotnet new install Uno.Templates"
[Info] [uno.solution] 0 (NuGet restore...)
[Info] Setting active project C:\Code\McTimeline\src\McTimelineDemo\McTimelineDemo\McTimelineDemo.csproj
[Info] [uno.solution] 1 (Uno solution not found)
[Info] [uno.check] 1 (Uno solution not found)
[Info] [uno.dev_server] 1 (Uno solution not found)

Uno platform - Debugg

[Info] Starting Debug adapter
[Info]: Successfully restored project at C:\Code\McTimeline\src\McTimelineDemo\McTimelineDemo\McTimelineDemo.csproj
[Info]: Project reload forced to switch to net10.0-desktop | Debug
[AppLaunch] Skipping app launch registration: Uno SDK version unknown is below minimum required version 6.4.0

** Uno Hot reload**

<Empty>

After restarting Dev Server:

Uno Hot reload

[Info] Launching remote control server (Port:56071, Path:C:\Users\mcnets\.nuget\packages\uno.winui.devserver\6.4.106\buildTransitive\../tools/rc/host/net10.0/Uno.UI.RemoteControl.Host.dll)
dbug: Uno.UI.RemoteControl.Host.IdeChannel.IdeChannelServer[0]
      IDE channel successfully initialized.

dbug: Uno.UI.RemoteControl.Host.Extensibility.AddIns[0]
      Found target frameworks for solution 'C:\Code\McTimeline\src\McTimeline\McTimeline.sln': net10.0-desktop, net10.0, net10.0-ios, net10.0-android, net10.0-windows10.0.26100, net10.0-browserwasm.

dbug: Uno.UI.RemoteControl.Helpers.AssemblyHelper[0]
      Loading add-in assembly 'C:\Users\mcnets\.nuget\packages\uno.ui.app.mcp\1.0.7\buildTransitive\../tools/devserver/Uno.UI.App.Mcp.Server.dll'.

dbug: Uno.UI.RemoteControl.Helpers.AssemblyHelper[0]
      Loading add-in assembly 'C:\Users\mcnets\.nuget\packages\uno.settings.devserver\1.7.1\buildTransitive\../tools/devserver/Uno.Settings.DevServer.dll'.

info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[63]
      User profile is available. Using 'C:\Users\mcnets\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.

+======================================================================================================================+
|                                                Uno Platform DevServer                                                |
+----------------------------------------------------------------------------------------------------------------------+
| Version     : 6.4.106+face1be0dba28fc6f75eae7e8c0b09ccf717c7b5-release-stable-6.4.face1be0dba28fc6f75eae7e8c0b09c... |
| Runtime     : dotnet v10.0.0 (Assembly target: .NET 10.0)                                                            |
| Assembly    : Uno.UI.RemoteControl.Host                                                                              |
| Location    : C:\Users\mcnets\.nuget\packages\uno.winui.devserver\6.4.106\tools\rc\host\net10.0                      |
| HTTP Port   : 56071                                                                                                  |
| IDE Channel : Disabled                                                                                               |
+======================================================================================================================+

dbug: Uno.UI.RemoteControl.Host.AmbientRegistry[0]
      DevServer registered: C:\Users\mcnets\AppData\Local\Uno Platform\DevServers\devserver-7964.json

dbug: Uno.Licensing.Tokens.OidcJwtService[1]
      OidcJwtService options: OidcJwtOptions { IsValid = True, Authority = https://platform.uno/, ClientId = jRqpPvO0FcooZH61ll5Wx91hD7EP8xvZNqGMvxdF }

dbug: Uno.Licensing.Sdk.LicensesStore[1]
      Refreshing licenses token...

dbug: Uno.Licensing.Sdk.LicensesStore[1]
      Refreshing licenses token...

info: Uno.Settings.DevServer.Licensing.IdeCommandHandler[1]
      Registering commands.

info: Uno.Settings.DevServer.Licensing.DevServerLicensingService[1]
      Auto-init the licensing service.

info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:56071
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:\Code\McTimeline

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

info: Microsoft.AspNetCore.Http.Result.JsonResult[1]
      Setting HTTP status code 406.
info: Microsoft.AspNetCore.Http.Result.JsonResult[3]
      Writing value of type 'JsonRpcError' as Json.

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://localhost:56071/mcp - 406 - application/json;+charset=utf-8 53.0218ms

dbug: Uno.Licensing.Sdk.UserStore[2]
      Refreshed token successfully.

dbug: Uno.Licensing.Sdk.LicensesStore[1]
      Refreshing licenses token...

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v2/user/licenses
info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v2/user/licenses
info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v2/user/licenses

dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'
dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'
dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'

info: System.Net.Http.HttpClient.licensing.api.ClientHandler[100]
      Sending HTTP request GET https://licencing.api.platform.uno/api/v2/user/licenses
info: System.Net.Http.HttpClient.licensing.api.ClientHandler[100]
      Sending HTTP request GET https://licencing.api.platform.uno/api/v2/user/licenses
info: System.Net.Http.HttpClient.licensing.api.ClientHandler[100]
      Sending HTTP request GET https://licencing.api.platform.uno/api/v2/user/licenses

info: System.Net.Http.HttpClient.licensing.api.ClientHandler[101]
      Received HTTP response headers after 1036.8549ms - 200

info: System.Net.Http.HttpClient.licensing.api.ClientHandler[101]
      Received HTTP response headers after 1096.0557ms - 200

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: 'The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.', Handled: 'False', Attempt: '0', Execution Time: 1120,0989ms
      System.IO.IOException: The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.
         at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
         at CacheCow.Client.FileCacheStore.FileStore.AddOrUpdateAsync(CacheKey key, HttpResponseMessage response)
         at CacheCow.Client.CachingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext()

dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: 'The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.', Execution Time: 1129,9271ms
      System.IO.IOException: The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.
         at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
         at CacheCow.Client.FileCacheStore.FileStore.AddOrUpdateAsync(CacheKey key, HttpResponseMessage response)
         at CacheCow.Client.CachingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext()

fail: Uno.Licensing.Sdk.LicensesStore[5]
      Failed to refresh licenses token.
      System.IO.IOException: The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.
         at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
         at CacheCow.Client.FileCacheStore.FileStore.AddOrUpdateAsync(CacheKey key, HttpResponseMessage response)
         at CacheCow.Client.CachingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext()
      --- End of stack trace from previous location ---
         at Polly.Outcome`1.ThrowIfException()
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
         at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
         at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.GetHttpResponseMessageAsync(RequestInformation requestInfo, CancellationToken cancellationToken, Activity activityForAttributes, String claims, Boolean isStreamResponse)
         at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
         at Uno.Licensing.Sdk.Client.V2.User.Licenses.LicensesRequestBuilder.GetAsync(Action`1 requestConfiguration, CancellationToken cancellationToken) in D:\a\1\s\src\Uno.Licensing.Sdk\Client\Kiota\V2\User\Licenses\LicensesRequestBuilder.cs:line 49
         at Uno.Licensing.Sdk.Client.LicensingClient.GetLicenseInfoAsync(String accessToken, CancellationToken ct) in D:\a\1\s\src\Uno.Licensing.Sdk\Client\LicensingClient.cs:line 81
         at Uno.Licensing.Sdk.LicensesStore.SyncAsync(CancellationToken ct) in D:\a\1\s\src\Uno.Licensing.Sdk\Core\LicensesStore.cs:line 148

dbug: Uno.Licensing.Sdk.LicensingService[20]
      Fetching offers.

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v1/user/offers

dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'

info: System.Net.Http.HttpClient.licensing.api.ClientHandler[100]
      Sending HTTP request GET https://licencing.api.platform.uno/api/v1/user/offers

info: System.Net.Http.HttpClient.licensing.api.ClientHandler[101]
      Received HTTP response headers after 1299.721ms - 200

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: 'The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.', Handled: 'False', Attempt: '0', Execution Time: 1321,3562ms
      System.IO.IOException: The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.
         at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
         at CacheCow.Client.FileCacheStore.FileStore.AddOrUpdateAsync(CacheKey key, HttpResponseMessage response)
         at CacheCow.Client.CachingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext()
dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: 'The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.', Execution Time: 1328,5918ms
      System.IO.IOException: The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.
         at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
         at CacheCow.Client.FileCacheStore.FileStore.AddOrUpdateAsync(CacheKey key, HttpResponseMessage response)
         at CacheCow.Client.CachingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext()

fail: Uno.Licensing.Sdk.LicensesStore[5]
      Failed to refresh licenses token.
      System.IO.IOException: The process cannot access the file 'C:\Users\mcnets\AppData\Local\Uno Platform\Licensing SDK\Cache\22Pvi2Q5Jsp16mjYURFx8i+a0S4=' because it is being used by another process.
         at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
         at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
         at CacheCow.Client.FileCacheStore.FileStore.AddOrUpdateAsync(CacheKey key, HttpResponseMessage response)
         at CacheCow.Client.CachingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext()
      --- End of stack trace from previous location ---
         at Polly.Outcome`1.ThrowIfException()
         at Microsoft.Extensions.Http.Resilience.ResilienceHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
         at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
         at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.GetHttpResponseMessageAsync(RequestInformation requestInfo, CancellationToken cancellationToken, Activity activityForAttributes, String claims, Boolean isStreamResponse)
         at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
         at Uno.Licensing.Sdk.Client.V2.User.Licenses.LicensesRequestBuilder.GetAsync(Action`1 requestConfiguration, CancellationToken cancellationToken) in D:\a\1\s\src\Uno.Licensing.Sdk\Client\Kiota\V2\User\Licenses\LicensesRequestBuilder.cs:line 49
         at Uno.Licensing.Sdk.Client.LicensingClient.GetLicenseInfoAsync(String accessToken, CancellationToken ct) in D:\a\1\s\src\Uno.Licensing.Sdk\Client\LicensingClient.cs:line 81
         at Uno.Licensing.Sdk.LicensesStore.SyncAsync(CancellationToken ct) in D:\a\1\s\src\Uno.Licensing.Sdk\Core\LicensesStore.cs:line 148

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 2014,5599ms
dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: '200', Execution Time: 2021,8278ms

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[101]
      End processing HTTP request after 2027.6707ms - 200

info: Uno.Licensing.Sdk.LicensesStore[4]
      Refreshed licenses token successfully.

info: System.Net.Http.HttpClient.licensing.api.ClientHandler[101]
      Received HTTP response headers after 979.7267ms - 200

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 986,1683ms
dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: '200', Execution Time: 986,2305ms
info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[101]
      End processing HTTP request after 986.2787ms - 200

dbug: Uno.Licensing.Sdk.LicensingService[1]
      Granted access to feature 'uno.appmcp'.

dbug: Uno.Licensing.Sdk.LicensingService[20]
      Fetching offers.

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v1/user/offers

dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 0,5617ms
dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: '200', Execution Time: 0,6188ms

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[101]
      End processing HTTP request after 0.6646ms - 200

dbug: Uno.Licensing.Sdk.LicensingService[1]
      Granted access to feature 'uno.appmcppro'.

dbug: Uno.Licensing.Sdk.LicensingService[20]
      Fetching offers.

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v1/user/offers
dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 0,2378ms

dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: '200', Execution Time: 0,2626ms
info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[101]
      End processing HTTP request after 0.2868ms - 200

dbug: Uno.Licensing.Sdk.LicensingService[2]
      Denied access to feature 'uno.appmcpbusiness'.

dbug: Uno.Licensing.Sdk.LicensingService[20]
      Fetching offers.
info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v1/user/offers
dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 4,0851ms
dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: '200', Execution Time: 4,2248ms
info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[101]
      End processing HTTP request after 4.2515ms - 200
dbug: Uno.Licensing.Sdk.LicensingService[2]
      Denied access to feature 'uno.appmcp-beta'.
dbug: Uno.Licensing.Sdk.LicensingService[20]
      Fetching offers.

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v1/user/offers
dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 0,2612ms
dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: '200', Execution Time: 0,3018ms

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[101]
      End processing HTTP request after 0.3317ms - 200
dbug: Uno.Licensing.Sdk.LicensingService[2]
      Denied access to feature 'uno.appmcppro-beta'.

dbug: Uno.Licensing.Sdk.LicensingService[20]
      Fetching offers.

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[100]
      Start processing HTTP request GET https://licencing.api.platform.uno/api/v1/user/offers
dbug: Polly[1]
      Resilience pipeline executing. Source: 'licensing.api-standard/', Operation Key: '(null)'

info: Polly[3]
      Execution attempt. Source: 'licensing.api-standard//Standard-Retry', Operation Key: '', Result: '200', Handled: 'False', Attempt: '0', Execution Time: 0,2352ms
dbug: Polly[2]
      Resilience pipeline executed. Source: 'licensing.api-standard/', Operation Key: '', Result: '200', Execution Time: 0,2724ms

info: System.Net.Http.HttpClient.licensing.api.LogicalHandler[101]
      End processing HTTP request after 0.2972ms - 200
dbug: Uno.Licensing.Sdk.LicensingService[2]
      Denied access to feature 'uno.appmcpbusiness-beta'.

dbug: Uno.UI.App.Mcp.Server.MCPToolsObserverService[0]
      Added 10 MCP tools.

Activity

  1. added theissue type on Nov 27, 2025
  2. DevTKSS commented on Nov 29, 2025

    @DevTKSS
    Contributor

    @Jen-Uno as the issue title states:

    until I restart DevServer

    Would you please be so nice to add a Workaround advise, how we can trigger the DevServer to reconnect?

    Image

    I would not see where I can do that?
    Normally just using VS2022 so I never needed to know this 😅

    entering Uno platform: Restart Dev server in the Terminal does nothing:

    PS C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps> Uno platform: Restart Dev server
    Uno: The term 'Uno' is not recognized as a name of a cmdlet, function, script file, or executable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    PS C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps> 
    
  3. DevTKSS commented on Nov 29, 2025

    @DevTKSS
    Contributor

    Hier ist eine klarere, kompakte und professionell formulierte Version deiner Nachricht.
    Ton: sachlich, konstruktiv, gut lesbar – perfekt für GitHub.


    🤔 I think you were referring to this section?
    https://platform.uno/docs/articles/dev-server.html?tabs=common-issues

    According to the docs, the workaround would be:

    uno-devserver start
    

    …but that command doesn’t exist on my machine:

    PS C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps> uno-devserver start
    uno-devserver: The term 'uno-devserver' is not recognized as a name of a cmdlet, function, script file, or executable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    

    So I’m wondering: could it be that the Uno extension (VS2022, VS2026, VS Code all installed) does not install this dotnet tool automatically?
    Or do the docs simply miss the step that we need to install it manually before using it?

    If that’s the case, adding a note to the docs would help others avoid this confusion. 👍😅

    Here’s my global tool list – the devserver tool is not installed:

    PS C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps> dotnet tool list -g
    Package Id                    Version          Commands
    --------------------------------------------------------------------
    docassembler                  1.37.0           DocAssembler
    docfx                         2.78.3           docfx
    docfxopenapi                  1.37.0           DocFxOpenApi
    docfxtocgenerator             1.37.0           DocFxTocGenerator
    doclanguagetranslator         1.37.0           DocLanguageTranslator
    doclinkchecker                1.37.0           DocLinkChecker
    dotnet-ef                     10.0.0           dotnet-ef
    dotnet-serve                  1.10.193         dotnet-serve
    mapster.tool                  9.0.0-pre01      dotnet-mapster
    microsoft.dotnet-openapi      10.0.0           dotnet-openapi
    microsoft.openapi.kiota       1.28.0           kiota
    powershell                    7.5.4            pwsh
    uno.check                     1.33.1           uno-check
    PS C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps> 
    

    From my perspective it looks like the devserver tool isn’t deployed automatically.

    Suggestion for the VS Code extension UX (if the Status page is maintained by your team):
    If the tool is required only for debugging scenarios, maybe add a second button next to the “Learn More” link in the Dev Server section — something like:

    “Install Dev Server dotnet Tool”
    -or-

    > Try to fix Dev Server Problems (Drop Down)
       |- Ask Uno Agent to fix this (Requires Uno Platform Studio Pro License)
       |- Dev Server not started
       |- Basic MCP Tooling not available
       |- ...
    

    (Integrating your Agent into bugfixing could indeed by a gread addition generally! 🚀 )

    This could trigger the installation via dotnet tool and optionally start it afterwards, similar to how the Uno Check banner works in VS2022/2026.

    Thanks!

  4. DevTKSS commented on Nov 29, 2025

    @DevTKSS
    Contributor

    Hm so on my Solution where this happens, any uno-devserver command except from the default --help does fail with:

    PS C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps> uno-devserver start
    fail: No global.json found in current directory or parent directories. Please run this command from within a project that uses Uno SDK.
    fail: Could not determine SDK version from global.json.
    

    And there is defintly a global.json file that should totally satisfy the Dev Server 😅

    Image

    Bottom line of VS Code (beside of the Uno Platform Status states everywhere ... not found) looks as if the C# extension / Extension in general is finding my Project just fine:

    Image Image

    Uno Platform Output

    [Info] [uno.solution] 0 (Loading...)
    [Info] [uno.check] 1 (Pending)
    [Info] [uno.dev_server] 1 (Pending)
    [Info] Launching XAML language server c:\Users\Sonja\.vscode\extensions\unoplatform.vscode-0.23.6\bin\lshost\net10.0\Uno.LSP.Host.dll
    [Info] Telemetry host connected.
    [Info] XAML language server c:\Users\Sonja\.vscode\extensions\unoplatform.vscode-0.23.6\bin\lshost\net10.0\Uno.LSP.Host.dll successfully started
    [Info] Found 'ms-dotnettools.csharp' version 2.100.11.
    [Info] Found 'ms-dotnettools.csdevkit' version 1.80.7.
    [Info] Found 'ms-dotnettools.dotnet-maui' version 1.11.215.
    [Info] C# extension onServerStateChange API is available.
    [Info] Running in Dev Kit mode
    [Info] Uno Platform "dotnet new" templates are already installed. The templates may be updated by running "dotnet new install Uno.Templates"
    [Info] [uno.solution] 0 (NuGet restore...)
    [Info] Setting active project C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Uno.Samples.MvuxGallery\DevTKSS.Uno.Samples.MvuxGallery.csproj
    [Info] [uno.solution] 1 (Uno solution not found)
    [Info] [uno.check] 1 (Uno solution not found)
    [Info] [uno.dev_server] 1 (Uno solution not found)
    

    Uno Platform Debugger Output seems as if it has been able to be fine as I build + test run my xUnit Test Project (depending on my Uno App) before discovering the DevServer is in vaccation mode 🤣

    [Info] Starting Debug adapter
    [Info]: Successfully restored project at C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Uno.Samples.MvuxGallery\DevTKSS.Uno.Samples.MvuxGallery.csproj
    [Info]: Project reload forced to switch to net9.0-desktop | Debug
    

    Uno Platform - Hot Reload Ouput is completly empty

    But the Uno Platform - XAML Output looks off 🤔 not sure if it helps you fixing the Server Problem:

    info: Microsoft.Hosting.Lifetime[0]
          Application is shutting down...
    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\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps
    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\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps
    fail: Uno.LSP.Roslyn.RoslynServerTarget[0]
          Msbuild failed when processing the file 'C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Extensions.Uno.Storage\DevTKSS.Extensions.Uno.Storage.csproj' with message: Der Zielplattformbezeichner "desktop" wurde nicht erkannt.
    fail: Uno.LSP.Roslyn.RoslynServerTarget[0]
          Msbuild failed when processing the file 'C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Extensions.Uno.Storage\DevTKSS.Extensions.Uno.Storage.csproj' with message: Der Zielplattformbezeichner "desktop" wurde nicht erkannt.
    warn: Uno.LSP.Roslyn.RoslynServerTarget[0]
          Found project reference without a matching metadata reference: C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Extensions.Uno.Storage\DevTKSS.Extensions.Uno.Storage.csproj
    Der Buildvorgang wurde am 28.11.2025 22:47:36 gestartet.
    Projekt "C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Uno.Samples.MvuxGallery\DevTKSS.Uno.Samples.MvuxGallery.csproj" auf Knoten "1", Compile Ziel(e).
    C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Uno.Samples.MvuxGallery\DevTKSS.Uno.Samples.MvuxGallery.csproj : error MSB4057: Das Ziel "Compile" ist im Projekt nicht vorhanden.
    Die Erstellung des Projekts "C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Uno.Samples.MvuxGallery\DevTKSS.Uno.Samples.MvuxGallery.csproj" ist abgeschlossen, Compile Ziel(e) -- FEHLER.
    
    Fehler beim Buildvorgang.
    
    "C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Uno.Samples.MvuxGallery\DevTKSS.Uno.Samples.MvuxGallery.csproj" (Compile Ziel) (1) ->
      C:\Users\Sonja\source\repos\DevTKSS\DevTKSS.Uno.SampleApps\src\DevTKSS.Uno.Samples.MvuxGallery\DevTKSS.Uno.Samples.MvuxGallery.csproj : error MSB4057: Das Ziel "Compile" ist im Projekt nicht vorhanden.
    
        0 Warnung(en)
        1 Fehler
    
    Verstrichene Zeit 00:00:00.01
    warn: Uno.LSP.Roslyn.RoslynServerTarget[0]
          Failed to find ProjectStringCache
    fail: Uno.LSP.Roslyn.RoslynServerTarget[0]
          RoslynServerTarget.Failed: System.InvalidOperationException: The project(s) DevTKSS.Extensions.Uno.Storage did not provide any metadata reference. This may be caused by an invalid project configuration, or mismatched TargetFrameworks.
             at Uno.LanguageServer.RoslynHelper.LoadProjectAsync(ILogger logger, String projectFile, String configuration, String targetFramework) in /home/vsts/work/1/s/src/server/Uno.LSP.Roslyn/Helpers/RoslynHelper.cs:line 94
             at Uno.LSP.Roslyn.RoslynServerTarget.CompileAsync(String projectPath, String configuration, String targetFramework, FileChangedEvent changedFile) in /home/vsts/work/1/s/src/server/Uno.LSP.Roslyn/RoslynServerTarget.Compilation.cs:line 94
             at Uno.LSP.Roslyn.RoslynServerTarget.StartCompilationLoopAsync(String projectPath, String configuration, String targetFramework) in /home/vsts/work/1/s/src/server/Uno.LSP.Roslyn/RoslynServerTarget.Compilation.cs:line 171
             at Uno.LSP.Roslyn.RoslynServerTarget.InitializeAsync(InitializeParams initializeParams) in /home/vsts/work/1/s/src/server/Uno.LSP.Roslyn/RoslynServerTarget.cs:line 52
    

    FYI:
    Just in case this output does also produce when the build project is not using the Uno.Sdk (the xUnit Project in this case, which I was working on), then just has a Dependency on my Uno App (-> Recognized already before that all Source Generators pulled in by the Uno.Sdk Project are getting transient provided to all using Projects, especially the Unit Test projects.

    Attempting to "re-connect" the Uno Project doesn't do anything:

    Image

    And here you see, it is / was already selected just fine:

    Image
  5. DevTKSS commented on Nov 30, 2025

    @DevTKSS
    Contributor

    @Jen-Uno Found a solution for my case of not connected status 👍

    Makes sense to add this to trouble shooting in the Dev Server Docs. Send you a PR you can check out for the steps that did fix this on my side

  6. dr1rrb commented on Dec 1, 2025

    @dr1rrb
    Member
  7. self-assigned this
    on Jan 15, 2026
  8. github-actions commented on Apr 30, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  9. locked as resolved and limited conversation to collaborators on Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions