Skip to content

Extract the build time SDK info using compiler flags #6

@JanKrivanek

Description

@JanKrivanek

Background

The compile time SDK can have significant impact on the resulting library. The global.json doesn't need to have definitive exact information, plus it's just optional.
With compiler flags we can get more precise info (based on research of top 150 nugets ~ 21% of those do not have the new verion of compiler flag, while exposing their sources - so it seems we can rely on compiler flags in substantial share of reconstructable packages).

Motivation

To notify user about possible resulting binary differences due to using mismatched SDK. Possibly offering to install and use matching SDK

Technical details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions