This is caused by this bit of code not working properly in Win11:
|
$Exported | Add-Member ` |
|
-MemberType NoteProperty ` |
|
-Name Runtime ` |
|
-Value ([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier.ToString()) |
Particularly the call to [System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier does not resolve properly.
This is caused by this bit of code not working properly in Win11:
core/Import-Package/runtimeidentifier.ps1
Lines 8 to 11 in 0b5e2b7
Particularly the call to
[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifierdoes not resolve properly.