Skip to content

Commit

Permalink
Add nswag.cmd (#4255)
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter committed Dec 7, 2022
1 parent a428037 commit fca7e81
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/NSwagStudio/nswag.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@ IF NOT "%args:/runtime:net60=%" == "%args%" (
GOTO end
)

IF NOT "%args:/runtime:net70=%" == "%args%" (
dotnet "%~dp0/Net70/dotnet-nswag.dll" %*
GOTO end
)

"%~dp0/Win/nswag.exe" %*
:end
:end

0 comments on commit fca7e81

Please sign in to comment.