question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vzarytovskiicommented, May 31, 2022

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

0reactions
vzarytovskiicommented, Oct 24, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio becomes unresponsive when debugging ...
Load app in VS2022 Run app. Both app and VS2022 lock up and become unresponsive. Clicking on either the app or VS2022 doesn't...
Read more >
Tips to improve performance - Visual Studio (Windows)
Visual Studio performance tips and tricks · In this article · Use a 64-bit OS · Disable automatic file restore · Configure debugging...
Read more >
Visual Studio 2022 - 17.5 Released
Visual Studio 2022 release summary with IDE productivity and performance improvements for developers tools.
Read more >
Visual Studio 2022 17.4 is now available!
Responsive File Save​​ Visual Studio no longer becomes unresponsive during Save operations. This enhancement is most noticeable when working on ...
Read more >
Visual Studio 2022 version 17.0 Release Notes
Get the latest features, bug fixes, and support for Visual Studio 2022 ... The fix should improve the experience of using VS on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found