-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
arch-arm64area-System.Diagnostics.PerformanceCounterenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
Milestone
Description
Description
We have created a .NET5 preview7 application where we utilize Performance counters.
On a development machine this works well, but on SurfaceProX the application crashes.
Looking into the PerformanceCounter code in the netcoreapp2.0 folder inside the nuget, it seems to be reliant on registry keys for .NET Framework to be installed in order to load the native dll perfcounter.dll from a directory specified by that those keys.
We expected three things:
- No reliance on .NET Framework
- No reliance on Windows registry
- Performance counters to work on SurfaceProX.
Is this a bug or a limitation to how far you want to support System.Diagnostics.
This has apparently been a problem before: https://developercommunity.visualstudio.com/content/problem/310772/module-not-found-exception-when-calling-countersam.html?childToView=394219#comment-394219
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch-arm64area-System.Diagnostics.PerformanceCounterenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
