Thanks to visit codestin.com
Credit goes to github.com

Skip to content

UDEI shows Studio unavailable in VSΒ #22183

@MartinZikmund

Description

@MartinZikmund

Current behavior πŸ›

Although Solution & Uno.Check are both green, Studio shows as unavailable.

Log provided below. Most likely the problem is:

Failed to get target frameworks of solution 'D:\Personal\stopwatch\src\Stopwatch.slnx'. This usually indicates that the solution is in an invalid state (e.g. a referenced project is missing on disk). Please fix and restart your IDE (command used: dotnet build "D:\Personal\stopwatch\src\Stopwatch.slnx" -t:UnoDumpTargetFrameworks "-p:UnoDumpTargetFrameworksTargetFile=C:\Users\Martin\AppData\Local\Temp\tmpq5oev0.tmp" "-p:CustomBeforeMicrosoftCSharpTargets=D:\Packages\NuGet\uno.winui.devserver\6.5.0-dev.136\tools\rc\host\net10.0\DevServer.Custom.Targets" --verbosity quiet).

Or:

[DEBUG][09:04:39.88] C:\Program Files\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools [D:\Personal\stopwatch\src\Stopwatch\Stopwatch.csproj::TargetFramework=net10.0-browserwasm]
[DEBUG][09:04:39.88] C:\Program Files\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [D:\Personal\stopwatch\src\Stopwatch\Stopwatch.csproj::TargetFramework=net10.0-browserwasm]

Interestingly, Uno.Check in UDEI shows as green, which makes it surprising that wasm-tools are missing

Uno Platform Diag log:

[INFO][09:04:31.94] Uno Remote Control initialized (6.5.0-dev.136+d19a8d895d6a84efa893871e6568a2ed97f1711e-master.d19a8d895d6a84efa893871e6568a2ed97f1711e)
[DEBUG][09:04:31.97] Starting server (tid:1)
[DEBUG][09:04:31.99] Observing solution
[DEBUG][09:04:31.99] GlobalJsonObserver: Starting
[DEBUG][09:04:31.99] GlobalJsonObserver: Observing D:\Personal\stopwatch\src\global.json
[DEBUG][09:04:32.00] Starting observing profile
[DEBUG][09:04:32.00] Observing D:\Personal\stopwatch\src\Stopwatch\Stopwatch.csproj
[DEBUG][09:04:32.01] User Setting is already set: _UnoSelectedTargetFramework=net10.0-desktop, currentActiveDebugFramework=net10.0-windows10.0.26100
[DEBUG][09:04:32.01] Starting server (tid:1)
[DEBUG][09:04:32.01] OnDebugProfileChangedAsync(,Stopwatch (Desktop)) isFirstProfileTfmChange:True
[DEBUG][09:04:32.05] GetActiveTargetFrameworksAsync()
[DEBUG][09:04:32.21] Using available port 63713
[DEBUG][09:04:32.38] Creating IDE Channel to Dev Server (b28e2295-a231-4ea6-95c2-7524fb404773)
[DEBUG][09:04:32.57] dbug: Uno.UI.RemoteControl.Host.IdeChannel.IdeChannelServer[0]
[DEBUG][09:04:32.57]       IDE channel successfully initialized.
[DEBUG][09:04:32.69] Setting framework desktop
[VERBOSE][09:04:32.69] Keep alive from dev-server
[DEBUG][09:04:32.69] SetActiveTargetFrameworkAsync(net10.0-desktop)
[DEBUG][09:04:32.81] Server already running on port 63713
[DEBUG][09:04:33.35] OnDebugFrameworkChangedAsync(, net10.0-desktop, desktop, forceReload: False, isFirstProfileTfmChange:False)
[DEBUG][09:04:33.35] WriteProjectUserSettingsAsync net10.0-desktop
[DEBUG][09:04:33.36] Skipping for no previous framework
[DEBUG][09:04:34.01] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:34.02] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:34.03] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:34.03] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:34.60] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:34.60] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:35.12] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:35.13] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:35.65] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:35.65] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:37.19] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:37.19] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:37.20] _afterExecute: {5EFC7975-14BC-11CF-9B2B-00AA00573819} 684  Debug
[DEBUG][09:04:37.20] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1990  Any CPU
[DEBUG][09:04:38.75] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:38.75] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:38.76] _afterExecute: {5EFC7975-14BC-11CF-9B2B-00AA00573819} 684  Debug
[DEBUG][09:04:38.76] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1990  Any CPU
[DEBUG][09:04:39.40] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:39.40] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:39.41] _afterExecute: {5EFC7975-14BC-11CF-9B2B-00AA00573819} 684  Debug
[DEBUG][09:04:39.41] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1990  Any CPU
[DEBUG][09:04:39.85] warn: Uno.UI.RemoteControl.Host.Extensibility.AddIns[0]
[DEBUG][09:04:39.85]       Failed to get target frameworks of solution 'D:\Personal\stopwatch\src\Stopwatch.slnx'. This usually indicates that the solution is in an invalid state (e.g. a referenced project is missing on disk). Please fix and restart your IDE (command used: `dotnet build "D:\Personal\stopwatch\src\Stopwatch.slnx" -t:UnoDumpTargetFrameworks "-p:UnoDumpTargetFrameworksTargetFile=C:\Users\Martin\AppData\Local\Temp\tmpq5oev0.tmp" "-p:CustomBeforeMicrosoftCSharpTargets=D:\Packages\NuGet\uno.winui.devserver\6.5.0-dev.136\tools\rc\host\net10.0\DevServer.Custom.Targets" --verbosity quiet`).
[DEBUG][09:04:39.87] dbug: Uno.UI.RemoteControl.Host.Extensibility.AddIns[0]
[DEBUG][09:04:39.88]       Error details:   Determining projects to restore...
[DEBUG][09:04:39.88]       C:\Program Files\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools [D:\Personal\stopwatch\src\Stopwatch\Stopwatch.csproj::TargetFramework=net10.0-browserwasm]
[DEBUG][09:04:39.88]       C:\Program Files\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [D:\Personal\stopwatch\src\Stopwatch\Stopwatch.csproj::TargetFramework=net10.0-browserwasm]
[DEBUG][09:04:39.88]       
[VERBOSE][09:04:39.89] Dev Server Message Uno.UI.RemoteControl.Messaging.IdeChannel.DevelopmentEnvironmentStatusIdeMessage requested
[DEBUG][09:04:39.89]       Build FAILED.
[DEBUG][09:04:39.89]       
[DEBUG][09:04:39.90]       C:\Program Files\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools [D:\Personal\stopwatch\src\Stopwatch\Stopwatch.csproj::TargetFramework=net10.0-browserwasm]
[DEBUG][09:04:39.93]       C:\Program Files\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [D:\Personal\stopwatch\src\Stopwatch\Stopwatch.csproj::TargetFramework=net10.0-browserwasm]
[DEBUG][09:04:39.95]           0 Warning(s)
[DEBUG][09:04:39.95]           1 Error(s)
[DEBUG][09:04:39.95]       
[DEBUG][09:04:39.95] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:39.95]       Time Elapsed 00:00:02.41
[DEBUG][09:04:39.95]       
[DEBUG][09:04:39.95] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:39.95] warn: Uno.UI.RemoteControl.Host.Program[0]
[DEBUG][09:04:39.95]       Unable to find the MCP Tooling in the environment, the MCP feature is disabled.
[DEBUG][09:04:39.95]       System.InvalidOperationException: You must call WithHttpTransport(). Unable to find required services. Call builder.Services.AddMcpServer().WithHttpTransport() in application startup code.
[DEBUG][09:04:39.95]          at Microsoft.AspNetCore.Builder.McpEndpointRouteBuilderExtensions.MapMcp(IEndpointRouteBuilder endpoints, String pattern)
[DEBUG][09:04:39.95]          at Uno.UI.RemoteControl.Host.Startup.<>c.<Configure>b__5_2(IEndpointRouteBuilder endpoints) in C:\a\1\s\src\Uno.UI.RemoteControl.Host\Startup.cs:line 63
[DEBUG][09:04:39.96] +======================================================================================================================+
[DEBUG][09:04:39.96] |                                                Uno Platform DevServer                                                |
[DEBUG][09:04:39.96] +----------------------------------------------------------------------------------------------------------------------+
[DEBUG][09:04:39.96] _afterExecute: {5EFC7975-14BC-11CF-9B2B-00AA00573819} 684  Debug
[DEBUG][09:04:39.96] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1990  Any CPU
[DEBUG][09:04:39.96] | Version     : 6.5.0-dev.136+d19a8d895d6a84efa893871e6568a2ed97f1711e-master.d19a8d895d6a84efa893871e6568a2ed97f1711e |
[DEBUG][09:04:39.96] | Runtime     : dotnet v10.0.1 (Assembly target: .NET 10.0)                                                            |
[DEBUG][09:04:39.96] | Assembly    : Uno.UI.RemoteControl.Host                                                                              |
[DEBUG][09:04:39.96] | Location    : D:\Packages\NuGet\uno.winui.devserver\6.5.0-dev.136\tools\rc\host\net10.0                              |
[DEBUG][09:04:39.96] | HTTP Port   : 63713                                                                                                  |
[DEBUG][09:04:39.96] | IDE Channel : Disabled                                                                                               |
[DEBUG][09:04:39.97] +======================================================================================================================+
[DEBUG][09:04:39.97] info: Uno.UI.RemoteControl.Host.ParentProcessObserver[0]
[DEBUG][09:04:39.97]       Monitoring parent process 56768 for termination.
[DEBUG][09:04:39.97] dbug: Uno.UI.RemoteControl.Host.AmbientRegistry[0]
[DEBUG][09:04:39.97]       DevServer registered: C:\Users\Martin\AppData\Local\Uno Platform\DevServers\devserver-33028.json
[DEBUG][09:04:39.97] info: Microsoft.Hosting.Lifetime[14]
[DEBUG][09:04:39.97]       Now listening on: http://[::]:63713
[DEBUG][09:04:39.97] info: Microsoft.Hosting.Lifetime[0]
[DEBUG][09:04:39.97]       Application started. Press Ctrl+C to shut down.
[DEBUG][09:04:39.97] info: Microsoft.Hosting.Lifetime[0]
[DEBUG][09:04:39.97]       Hosting environment: Production
[DEBUG][09:04:39.97] info: Microsoft.Hosting.Lifetime[0]
[DEBUG][09:04:39.98]       Content root path: D:\Packages\NuGet\uno.winui.devserver\6.5.0-dev.136\tools\rc\host
[DEBUG][09:04:40.47] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1627  Uno Platform
[DEBUG][09:04:40.47] _afterExecute: {85CE63B9-A773-45E0-9A60-9A96BC2AB40B} 768  Diagnostic
[DEBUG][09:04:40.48] _afterExecute: {5EFC7975-14BC-11CF-9B2B-00AA00573819} 684  Debug
[DEBUG][09:04:40.48] _afterExecute: {1496A755-94DE-11D0-8C3F-00C04FC2AAE2} 1990  Any CPU
[VERBOSE][09:04:49.89] Keep alive from dev-server
[VERBOSE][09:04:59.89] Keep alive from dev-server
[VERBOSE][09:05:09.89] Keep alive from dev-server
[VERBOSE][09:05:19.90] Keep alive from dev-server
[VERBOSE][09:05:29.90] Keep alive from dev-server
[VERBOSE][09:05:39.89] Keep alive from dev-server
[VERBOSE][09:05:49.89] Keep alive from dev-server
[VERBOSE][09:05:59.90] Keep alive from dev-server
[VERBOSE][09:06:09.89] Keep alive from dev-server
[VERBOSE][09:06:19.89] Keep alive from dev-server

Expected behavior 🎯

No response

How to reproduce it (as minimally and precisely as possible) πŸ”¬

No response

Workaround πŸ› οΈ

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms πŸ“±πŸ’»πŸ–₯️

No response

Uno.Sdk version (and other relevant versions) πŸ“¦

6.5.0-dev.39

IDE version πŸ§‘β€πŸ’»

VS 2026 Latest

Anything else we need to know? πŸ’¬

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.triage/untriagedIndicates an issue requires triaging or verification

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions