From effdac4a404d2fa6d5ffb7d71fd436e5d7486cb1 Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Fri, 22 Sep 2023 11:19:23 -0700 Subject: [PATCH] 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. --- .../Git-Credential-Manager.csproj | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj b/src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj index ea0c52e3e..fb2735a8f 100644 --- a/src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj +++ b/src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj @@ -15,6 +15,33 @@ true + + + true + + + true + +