-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify RuntimeEnvironment to use System.Runtime.InteropServices.RuntimeInformation #5911
Comments
I looked at the dependencies of Microsoft.Extensions.PlatformAbstractions. It does not have any dependencies back into CLI, so as long as the package references shipping CoreFx packages I don't have concern about the cycle for RC2. |
since the PR is out, let's leave this in :) |
Per conversation with @pranavkm this is tracking remaining work for RTM which will enable using RuntimeInformation in desktop projects. This is dependent on dotnet/corefx#7863 and so will be fixed in RTM once that is fixed. |
I was looking at this again and there's a bunch of APIs in |
Here's the CoreFx work item: https://github.com/dotnet/corefx/issues/9011. |
The CoreFx issue is still open, so moving this out of RTM. |
We don't ship this out of the CLI anymore. |
The code ported from
Microsoft.Extensions.PlatformAbstractions
contains a bunch of pinvokes for APIs that are available via the RuntimeInformation package. However the package has issues in RC2 where it does not bring in runtime binaries in desktop applications. This is fixed in RTM (https://github.com/dotnet/corefx/issues/7863).The text was updated successfully, but these errors were encountered: