diff --git a/doBuild.ps1 b/doBuild.ps1 index 9edfca0d9..87985f06c 100644 --- a/doBuild.ps1 +++ b/doBuild.ps1 @@ -114,6 +114,7 @@ function DoBuild 'NuGet.Protocol' 'NuGet.Versioning' 'System.Buffers' + 'System.ClientModel' 'System.Diagnostics.DiagnosticSource' 'System.IO.FileSystem.AccessControl' 'System.Memory.Data' diff --git a/global.json b/global.json index 40cb45844..53f612868 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "8.0.419" + "version": "8.0.421" } } diff --git a/src/code/Microsoft.PowerShell.PSResourceGet.csproj b/src/code/Microsoft.PowerShell.PSResourceGet.csproj index daeaff8e1..2e23802cd 100644 --- a/src/code/Microsoft.PowerShell.PSResourceGet.csproj +++ b/src/code/Microsoft.PowerShell.PSResourceGet.csproj @@ -24,7 +24,8 @@ - + + diff --git a/src/code/ModuleInitAndCleanup.cs b/src/code/ModuleInitAndCleanup.cs index 28e83f284..b3f1992d1 100644 --- a/src/code/ModuleInitAndCleanup.cs +++ b/src/code/ModuleInitAndCleanup.cs @@ -15,6 +15,10 @@ public class UnsafeAssemblyHandler : IModuleAssemblyInitializer, IModuleAssembly private static readonly HashSet NetFrameworkLoadFromPath = new HashSet(StringComparer.OrdinalIgnoreCase) { + "System.Buffers", + "System.ClientModel", + "System.Numerics.Vectors", + "System.Threading.Tasks.Extensions", "System.Runtime.CompilerServices.Unsafe", "System.Memory", "System.Diagnostics.DiagnosticSource", diff --git a/src/code/Utils.cs b/src/code/Utils.cs index f64d0871f..c13de2516 100644 --- a/src/code/Utils.cs +++ b/src/code/Utils.cs @@ -708,7 +708,6 @@ public static string GetAzAccessToken(PSCmdlet cmdletPassedIn) ExcludeVisualStudioCredential = true, ExcludeWorkloadIdentityCredential = true, ExcludeManagedIdentityCredential = true, // ManagedIdentityCredential makes the experience slow - ExcludeSharedTokenCacheCredential = true, // SharedTokenCacheCredential is not supported on macOS ExcludeAzureCliCredential = false, ExcludeAzurePowerShellCredential = false, ExcludeInteractiveBrowserCredential = false