Skip to content

I'm struggling to understand the cause(s) of "wminet_utils.dll"-related errors in the pipeline. #326285

@DandelionSprout

Description

@DandelionSprout

Among the affected PRs:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageThis work item needs to be triaged by a member of the core team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions