Skip to content
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

Enable assembly trimming and single-file publish on all platforms #1419

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Oct 25, 2023

  1. Configuration menu
    Copy the full SHA
    a0babfc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09f6421 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26735d1 View commit details
    Browse the repository at this point in the history
  4. build: annotate platform-specific code

    Annotate any OS or platform specific code with the new
    (Un)SupportedOSPlatform(Guard) attributes and update various platform
    util methods to use the OperatingSystem.Is<platform> methods.
    
    This will help ensure we're not missing any OS checks in the future.
    
    For test projects we ignore these warnings since we're using skipping
    Xunit tests that are not applicable for the current platform already,
    making these warnings just noise.
    mjcheetham committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    3c1406e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    47072be View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d25c50a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3c25ca1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    da2fcd7 View commit details
    Browse the repository at this point in the history
  9. build: add MSAL single file publish workaround

    Add a workaround for a bug in MSAL's loading of native dependencies when
    published as a single file bundle.
    
    Using the IncludeAddContentForSelfExtract option will cause all managed
    and native dependencies to be extracted on first launch to a temporary
    directory, and executed from there.
    
    This only affects Windows as only Windows has support for the MSAL
    runtime that requires the native dependencies.
    mjcheetham committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    effdac4 View commit details
    Browse the repository at this point in the history