fsharp
fsharp copied to clipboard
[UWP] Visual Studio development experience: high CPU usage and Intellisense unresponsive
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
Will check it tomorrow on latest 2022 + do some profiling.
@vzarytovskii Did you do a check on this?
I think I did, and couldn't reproduce it on the main. Will re-check on latest 17.4.
Checked on today's build, it seems that all works fine. @toburger have you tested it on the 17.4 preview by any chance?
@toburger I can't reproduce it on the 2022, is it still a problem?