diff --git a/src/NSwagStudio/nswag.cmd b/src/NSwagStudio/nswag.cmd index 781e0ccf40..174d06928a 100644 --- a/src/NSwagStudio/nswag.cmd +++ b/src/NSwagStudio/nswag.cmd @@ -16,5 +16,10 @@ IF NOT "%args:/runtime:net70=%" == "%args%" ( GOTO end ) +IF NOT "%args:/runtime:net80=%" == "%args%" ( + dotnet "%~dp0/Net80/dotnet-nswag.dll" %* + GOTO end +) + "%~dp0/Win/nswag.exe" %* :end