microsoft / microsoft/winget-pkgs
I'm struggling to understand the cause(s) of "wminet_utils.dll"-related errors in the pipeline.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- PR merge metrics
- PR metrics pending
Description
Among the affected PRs:
* https://github.com/microsoft/winget-pkgs/pull/324922#issuecomment-3680092412
* https://github.com/microsoft/winget-pkgs/pull/325936#issuecomment-3691136355
* #320323
* https://github.com/microsoft/winget-pkgs/pull/322996#issuecomment-3661944448
* #323044
* #324760
* #322308
* #328442
* #322361
The error message in question:
```
Failure to parse win 10, attempting win 11
Caught exception while trying to kill child processes: System.TypeInitializationException: The type initializer for 'System.Management.ManagementPath' threw an exception.
---> System.TypeInitializationException: The type initializer for 'System.Management.WmiNetUtilsHelper' threw an exception.
---> System.ComponentModel.Win32Exception (193): Failed to load required native library 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\wminet_utils.dll'.
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Packages\Microsoft.DotNet.Runtime.2_2__DefaultSource\dotnet.exe returned exit code: -2147450751
```
In the case of the first 2 PRs, I presumed that adding `Microsoft.DotNet.Framework.DeveloperPack_4` as a package dependency would fix it, but apparently it doesn't. So that leaves me unsure as to whether it's a client-side dependency problem, or if the .dll error is on the pipeline VMs' part?
Contributor guide
Research direction
Start with the error trace for wminet_utils.dll and compare the affected PRs and referenced issue numbers, especially the dependency change involving Microsoft.DotNet.Framework.DeveloperPack_4. Investigate whether the failure comes from package dependencies or the pipeline VMs; done means identifying the cause and documenting an actionable fix or environment requirement.
Written by the indexing model from the issue text.
Assessment
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100