-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add System.Runtime.CompilerServices.RuntimeFeature.PortablePdb #21714
Comments
@karelz What's the process for approving this API for Desktop FX 4.7.1? |
/cc @noahfalk |
@marek-safar What's the process of adding APIs to Mono? If we added this API to 4.7.1 should it also be added to Mono at the same time or earlier? Do you have a release synchronized with Desktop FX? |
BTW: Mono is trying to reuse CoreFX source libraries, so it will be likely in the same boat as .NET Core. |
The RuntimeFeature API isn't slated for netstandard yet, at least not netstandard2.0. It would be good to get it into .NET Framework 4.7.1 however. |
@tmat it's enough to cc me on the commit where the change is being worked on for CoreFX or CoreRT. We can add it earlier if the API is approved. |
Looks good as proposed |
@tmat I see that the RuntimeFeatures "PortablePdb" flag was added. Are we using it in Roslyn at this point? |
@jcouv We are not using it yet. |
Currently there is no support for Portable PDBs in Desktop FX. We are finishing support in stack traces for portable and embedded PDBs for 4.7.1. Features that generate code at runtime (such as scripting) would benefit from being able to detect whether the runtime supports Portable PDBs or not, as they could emit Portable PDBs instead of Windows PDBs. Emitting Portable PDBs has perf benefits.
In order to make the feature detection consistent across all platforms we propose to add the following APIs to netstandard as well.
Proposed API
The text was updated successfully, but these errors were encountered: