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
{{ message }}
Repository navigation
Consider removing apiset files from self-contained apps #65758
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.
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?
ghost added
in-prThere is an active PR which will close this issue when it is merged
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?
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.
Activity
VSadov commentedon Feb 23, 2022
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.
Symbai commentedon Feb 23, 2022
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?
huoyaoyuan commentedon Mar 21, 2022
A question: when I use
dumpbin /importsto 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?jkotas commentedon Mar 21, 2022
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.
VSadov commentedon Apr 10, 2022
Fixed in #66805