Skip to content

Instantly share code, notes, and snippets.

@cbarraco
Created March 23, 2018 19:58
Show Gist options
  • Save cbarraco/09975a5002783430b13135afa42c131a to your computer and use it in GitHub Desktop.
Save cbarraco/09975a5002783430b13135afa42c131a to your computer and use it in GitHub Desktop.
<Target Name="NSwag Debug" AfterTargets="Build" Condition="'$(Configuration)'=='DEBUG'">
<Exec Command="$(NSwagExe) run Debug.nswag" />
</Target>
<Target Name="NSwag Release" AfterTargets="Build" Condition="'$(Configuration)'=='RELEASE'">
<Exec Command="$(NSwagExe) run Release.nswag" />
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment