fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

[UWP] Visual Studio development experience: high CPU usage and Intellisense unresponsive

Open toburger opened this issue 2 years ago • 4 comments

When I add a UWP reference to a .NET 6.0 project Visual Studio gets very slow and uses all my CPUs.

Repro steps

I've started a hobby project to control my standing desk via Bluetooth. The source can be found here: https://github.com/toburger/IdasenDesk In order to work with Bluetooth I need to access the Windows.Devices.Bluetooth namespace, which is part of the Universal Windows Platform (UWP).

When I open the project in Visual Studio and start to edit the code Visual Studio eats all of my CPU and Intellisense gets unresponsive.

Expected behavior

"Normal" Visual Studio development experience.

Actual behavior

Intellisense gets unresponsive after editing code unless I rest for a while and let Visual Studio catch up.

Known workarounds

Just be patient. 😉

Related information

Provide any related information (optional):

  • Operating system: Windows 11
  • .NET Runtime kind (.NET Core, .NET Framework, Mono): .NET 6.0
  • Editing Tools (e.g. Visual Studio Version, Visual Studio): Visual Studio 2022

toburger avatar May 31 '22 14:05 toburger

Will check it tomorrow on latest 2022 + do some profiling.

vzarytovskii avatar May 31 '22 15:05 vzarytovskii

@vzarytovskii Did you do a check on this?

dsyme avatar Sep 21 '22 13:09 dsyme

I think I did, and couldn't reproduce it on the main. Will re-check on latest 17.4.

vzarytovskii avatar Sep 21 '22 13:09 vzarytovskii

Checked on today's build, it seems that all works fine. @toburger have you tested it on the 17.4 preview by any chance?

vzarytovskii avatar Sep 21 '22 13:09 vzarytovskii

@toburger I can't reproduce it on the 2022, is it still a problem?

vzarytovskii avatar Oct 24 '22 17:10 vzarytovskii