You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot run Verify.Xunit tests on Windows ARM64 #315
Message:
System.TypeInitializationException : The type initializer for 'DiffEngine.ProcessCleanup' threw an exception.
---- 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 : Failed to load required native library 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\wminet_utils.dll'.
I cannot find information regarding the compatibility with the ARM64 architecture
I tried version 11.2, but I'm getting the same error.
I hoped that it was a quick fix, but it doesn't seem so. I looked at the code and then did some search - found open issues in the dotnet runtime regarding System.Management.ManagementObjectSearcher not working for ARM64.
Hi, followed the discussion above and the bug filed to dotnet/runtime
Is it possible to move from WMI to NtQueryInformationProcess and find command line from the PEB? (perhaps for ARM64 only)
Or wait for dotnet to fix their issue?
(i can give it a try if PRs are welcome? need to get the green dots to be considered senior dev :) )
Will give it a try, have had a bit shortage in hours :) noted that dotnet seems to be lack of supporting Framework64 path, might be better to give them a day or two to solve it?
Activity
SimonCropp commentedon Feb 25, 2023
out of curiosity, why didnt you try and fix it?
SimonCropp commentedon Feb 26, 2023
can u try v 11.2
fleed commentedon Feb 26, 2023
Hi Simon, thank you for support.
I tried version
11.2, but I'm getting the same error.I hoped that it was a quick fix, but it doesn't seem so. I looked at the code and then did some search - found open issues in the dotnet runtime regarding
System.Management.ManagementObjectSearchernot working for ARM64.SimonCropp commentedon Feb 26, 2023
can u share that issue?
fleed commentedon Feb 26, 2023
This: 59844
toastmastern commentedon Feb 28, 2023
Hi, followed the discussion above and the bug filed to dotnet/runtime
Is it possible to move from WMI to NtQueryInformationProcess and find command line from the PEB? (perhaps for ARM64 only)
Or wait for dotnet to fix their issue?
(i can give it a try if PRs are welcome? need to get the green dots to be considered senior dev :) )
SimonCropp commentedon Mar 1, 2023
@toastmastern a PR that omits the WMI code on ARM64 would be greatly appreciated
toastmastern commentedon Mar 2, 2023
Will give it a try, have had a bit shortage in hours :) noted that dotnet seems to be lack of supporting Framework64 path, might be better to give them a day or two to solve it?
SimonCropp commentedon Apr 12, 2023
can u try v 11.3.0
matkoch commentedon Apr 13, 2023
Works for me
fleed commentedon Apr 14, 2023
Works perfectly! Thank you so much @SimonCropp !