Skip to content

Commit

Permalink
Add NuGet assemblies to the list of well-known assemblies.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianrob committed Feb 4, 2021
1 parent 0fc8263 commit 183645c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Shared/MSBuildLoadContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,20 @@ internal class MSBuildLoadContext : AssemblyLoadContext
"MSBuild",
"Microsoft.Build",
"Microsoft.Build.Framework",
"Microsoft.Build.NuGetSdkResolver",
"Microsoft.Build.Tasks.Core",
"Microsoft.Build.Utilities.Core",
"NuGet.Build.Tasks",
"NuGet.Common",
"NuGet.Configuration",
"NuGet.Credentials",
"NuGet.DependencyResolver.Core",
"NuGet.Frameworks",
"NuGet.LibraryModel",
"NuGet.Packaging",
"NuGet.Protocol",
"NuGet.ProjectModel",
"NuGet.Versioning",
}.ToImmutableHashSet();

internal static readonly string[] Extensions = new[] { "ni.dll", "ni.exe", "dll", "exe" };
Expand Down

0 comments on commit 183645c

Please sign in to comment.