microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
209 stars 7 forks source link

[BUG] Mobile .NET extension cannot run tvOS simulators #958

Open maxkatz6 opened 4 months ago

maxkatz6 commented 4 months ago

Describe the Issue

It doesn't seem possible to run tvOS simulator on a tvOS compatible project from the VSCode. .NET SDK itself does support it if I follow instructions from https://github.com/dotnet/xamarin/issues/26 thread, but in this case I always need to manually get simulator UUID and I am not able to debug the code. It also works in Rider (sometimes).

Steps To Reproduce

  1. Make sure that tvOS tooling is installed via XCode, including a simulator.
  2. sudo dotnet workload install tvos.
  3. dotnet new tvos.
  4. Open VSCode in the project folder.
  5. Command+Shift+P -> .NET MAUI Pick Startup Device.
  6. Observe list of simulators, that doesn't include tvOS. Instead, it shows all of the incompatible targets.

Archive.zip

Expected Behavior

Dropdown list should include only tvOS simulators, since by default "tvos" template only supports a single platform as per UIDeviceFamily.

It still should be possible to multitarget tvos and ios, and target devices dropdown should include all possible devices/simulators for both platforms.

Environment Information

mauroa commented 3 months ago

The VS Code MAUI extension doesn't support tvOS by now, so adding the enhancement tag instead and creating a corresponding internal feature suggestion ticket.