We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d6dd87 commit dcf5407Copy full SHA for dcf5407
2 files changed
ApiCodeGenerator.code-workspace
src/ApiCodeGenerator.MSBuild/Console/GenerateCommand.cs
@@ -72,7 +72,7 @@ private async Task ExecuteAsync(InvocationContext context)
72
73
private IGenerationTaskFactory GetGenerationTaskFactory(string? nswagToolsPath)
74
{
75
- var context = new AssemblyLoadContext("Generator Context");
+ var context = AssemblyLoadContext.GetLoadContext(Assembly.GetCallingAssembly())!;
76
77
// регистриуем процесс резолва сборок
78
AssemblyResolver.Register(context);
0 commit comments