Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit c7050ca

Browse files
author
N. Taylor Mullen
committed
Call CreateLoadContext overload.
- This is a tactical fix to work around https://github.com/dotnet/cli/issues/3469
1 parent 1aa508e commit c7050ca

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Microsoft.AspNetCore.Razor.Tools/Internal/PackageOnlyResolveTagHelpersRunCommand.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ public static bool TryPackageOnlyTagHelperResolution(
7979
}
8080
}
8181

82-
var loadContext = projectContext.CreateLoadContext(configuration: "Debug");
82+
var loadContext = projectContext.CreateLoadContext(
83+
projectContext.RuntimeIdentifier,
84+
configuration: "Debug",
85+
outputPath: null);
8386
var runner = new PackageOnlyResolveTagHelpersRunCommand(loadContext)
8487
{
8588
AssemblyNamesArgument = assemblyNamesArgument,

0 commit comments

Comments
 (0)