Skip to content

Consider removing apiset files from self-contained apps #65758

Closed

Description

@VSadov

We do not include apiset files in singlefile apps and it is questionable why non-singlefile apps should be different.

Also see:
#63196
#65692

Activity

  1. ghost added
    untriaged
    on Feb 23, 2022
  2. self-assigned this
    on Feb 23, 2022
  3. VSadov commented on Feb 23, 2022

    @VSadov
    MemberAuthor

    My initial, naive, attempt to omit these files has run into some technical troubles (manifest validation, etc), but there should certainly be a way to not include these files cleanly, either based on RID (i.e. for Win10+), or better unconditionally.

  4. Symbai commented on Feb 23, 2022

    @Symbai

    Why only on self-contained? From the linked #65692 issue it's been said that they are only required for Windows 7. So if the project targets an OS > Win7 they should also get removed, no?

  5. ghost added
    in-pr
    on Mar 18, 2022
  6. ghost removed
    in-pr
    on Mar 19, 2022
  7. huoyaoyuan commented on Mar 21, 2022

    @huoyaoyuan
    Member

    A question: when I use dumpbin /imports to view compiled coreclr.dll, I see references to the api sets in Release configuration, but not in Debug configuration. Is there anything to do with C++ compiler or linker?

  8. jkotas commented on Mar 21, 2022

    @jkotas
    Member

    We link the CRT statically in debug builds to simplify test deployment. Linking CRT dynamically would require us to copy debug CRT binaries around since they are not part of the OS image.

  9. VSadov commented on Apr 10, 2022

    @VSadov
    MemberAuthor

    Fixed in #66805

  10. ghost locked as resolved and limited conversation to collaborators on May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Hostuntriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions