Open GabrielFernandes-Dev opened 1 year ago
@gabrielgomes-coder When you ran locally, did you have this change in your branch? https://github.com/microsoft/devhome/pull/1077
I'm hoping I fixed this but I'm wondering if it's happening in another location.
Yes, before this change not even the "${gpuUsage}" appeared, it was just empty
Hi @krschau , This bug still exists in version '0.1201.442.0'. All widgets have this issue.
Today I updated through the Microsoft Store (0.1501.533.0) and, at least in my case, it was finally fixed
It is still not working for me.
Still not working
I can confirm that all the widgets regarding system performance are still throwing this error.
Dev Home version
0.1.3651.0
Windows build number
10.0.22000
Other software
No response
Steps to reproduce the bug
Installed the Dev Home app but the pc widgets never worked (CPU, GPU, Memory, and Network).
Cloning the project and trying to run whit Visual Studio Community 2022 the application starts and immediately throws an exception
Expected result
No response
Actual result
This is the DevHome app widgets.
Running whit Visual Studio Community get this exception in the \devhome\CoreWidgetProvider\Helpers\SystemData.cs Line 12.
System.TypeInitializationException: 'The type initializer for 'CoreWidgetProvider.Helpers.SystemData' threw an exception.' Inner Exception InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry. Performance counters on the machine may need to be repaired.
Included System Information
I am currently with this configuration in my PC: Ryzen 5 3600 ASRock B450M 32 Gb DDR4 RTX 3060Ti
Included Extensions Information
No response