diff --git a/src/TeamsISO.App.WinUI/TeamsISO.App.WinUI.csproj b/src/TeamsISO.App.WinUI/TeamsISO.App.WinUI.csproj index f7e4aed..3426f74 100644 --- a/src/TeamsISO.App.WinUI/TeamsISO.App.WinUI.csproj +++ b/src/TeamsISO.App.WinUI/TeamsISO.App.WinUI.csproj @@ -107,4 +107,36 @@ + + + + <_RuntimeConfigPath>$(OutDir)$(AssemblyName).runtimeconfig.json + + + <_RuntimeConfigContent>$([System.IO.File]::ReadAllText('$(_RuntimeConfigPath)')) + <_PatchedContent>$([System.Text.RegularExpressions.Regex]::Replace($(_RuntimeConfigContent), ',\s*\{\s*"name":\s*"Microsoft\.WindowsDesktop\.App"[^\}]*\}', '')) + + + + +