File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/ApiCodeGenerator.MSBuild Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 88 <description >Adds API client generation to the project based on the NSwag file and the API description document.</description >
99 <repository type =" git" url =" $repository$" />
1010 <dependencies >
11- <dependency id =" Microsoft.Extensions.ApiDescription.Client" version =" 5 .0" />
11+ <dependency id =" Microsoft.Extensions.ApiDescription.Client" version =" 10 .0" />
1212 <dependency id =" NSwag.MSBuild" version =" $nswagVersion$" />
1313 </dependencies >
1414 <license type =" file" >LICENSE</license >
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ private Task ExecuteAsync(InvocationContext context)
7171
7272 private IGenerationTaskFactory GetGenerationTaskFactory ( string ? nswagToolsPath )
7373 {
74- var context = new AssemblyLoadContext ( "Generator Context" ) ;
74+ var context = AssemblyLoadContext . GetLoadContext ( Assembly . GetCallingAssembly ( ) ) ! ;
7575
7676 // регистриуем процесс резолва сборок
7777 AssemblyResolver . Register ( context ) ;
You can’t perform that action at this time.
0 commit comments