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
A user reported in OneGet/oneget#239 that OneGet is broken in the Alpha12 on Linux.
Debugging into the issue, the following line seems causing the problem. Microsoft.Win32.Registry throws an exception now which is peace and safe before. Per Dongbo, it is caused by the latest CoreCLR change.
System.TypeInitializationException
"Operation is not supported on this platform."
"Microsoft.Win32.Registry"
" at Microsoft.Win32.RegistryKey.OpenBaseKeyCore(RegistryHive hKey, RegistryView view)\n at Microsoft.Win32.Registry..cctor()"
joeyaiello
changed the title
PackageManagement is broken in the latest Alpah12 on Linux
PackageManagement is broken in the latest alpha-12 on Linux
Nov 11, 2016
@jianyunt Is this issue resolved? if so, please close it, mark it fixed, and place it in the alpha.13 milestone. If you don't have permissions for that, let me know.
A user reported in OneGet/oneget#239 that OneGet is broken in the Alpha12 on Linux.
Debugging into the issue, the following line seems causing the problem. Microsoft.Win32.Registry throws an exception now which is peace and safe before. Per Dongbo, it is caused by the latest CoreCLR change.
System.TypeInitializationException
"Operation is not supported on this platform."
"Microsoft.Win32.Registry"
" at Microsoft.Win32.RegistryKey.OpenBaseKeyCore(RegistryHive hKey, RegistryView view)\n at Microsoft.Win32.Registry..cctor()"
Source: https://github.com/OneGet/oneget/blob/master/src/Microsoft.PackageManagement/Implementation/PackageManagementService.cs
Steps to reproduce
Install the alpha12 on Linux
Get-PackageProvider
Expected behavior
PowerShellGet and NuGet providers should be listed from Get-PackageProvider
Actual behavior
Nothing returned. No assemblies are successfully initialized.
Environment data
The text was updated successfully, but these errors were encountered: