stride3d / stride3d/stride

XInput: Get rid of Microsoft.Management.Infrastructure

Open
#2,973 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Input enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Is your feature request related to a problem? Please describe.

We use Microsoft.Management.Infrastructure to query various HW details
However, this library is not actively maintained.
Also, even when running within .NET Core , it requires .NET Framework to be installed (I think this is the only reason why we still have .NET Framework as an installer prerequisite).

We got rid of most of its uses already, however it is still needed for XInput.
Probably we could find a way to rewrite the code without it being needed.

Describe the solution you'd like

Find an alternative library and replace our code.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the remaining XInput code that uses Microsoft.Management.Infrastructure and reviewing how it queries hardware details. Investigate a maintained alternative that works without requiring .NET Framework; done means the XInput functionality remains available and this dependency is no longer needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.