WebApiBootstrap/Directory.Build.props

9 lines
343 B
XML

<Project>
<PropertyGroup>
<OpenApiDocPath>$(SolutionDir)openapi.yaml</OpenApiDocPath>
</PropertyGroup>
<Target Name="RestoreDotNetTools" BeforeTargets="GenerateOpenApiDoc;GenerateRefitInterface">
<Exec Command='dotnet tool restore --configfile "$(SolutionDir).config/dotnet-tools.json"'/>
</Target>
</Project>