50 lines
2.3 KiB
XML
50 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<RootNamespace>Hutopy.Web</RootNamespace>
|
|
<AssemblyName>Hutopy.Web</AssemblyName>
|
|
<UserSecretsId>de6d03c4-8b1c-49e2-a8ca-c38cd4dc7d85</UserSecretsId>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Application\Application.csproj" />
|
|
<ProjectReference Include="..\Infrastructure\Infrastructure.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" />
|
|
<PackageReference Include="Azure.Identity" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
|
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" />
|
|
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" />
|
|
<PackageReference Include="NSwag.AspNetCore" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="NSwag.MSBuild">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="FluentValidation.AspNetCore" />
|
|
</ItemGroup>
|
|
|
|
|
|
<!-- Auto-generated Open API specification and Angular TypeScript clients -->
|
|
<PropertyGroup>
|
|
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="NSwag" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)' == 'Debug' And '$(SkipNSwag)' != 'True' ">
|
|
<Exec ConsoleToMSBuild="true" ContinueOnError="true" WorkingDirectory="$(ProjectDir)" EnvironmentVariables="ASPNETCORE_ENVIRONMENT=Development" Command="$(NSwagExe_Net80) run config.nswag /variables:Configuration=$(Configuration)">
|
|
<Output TaskParameter="ExitCode" PropertyName="NSwagExitCode" />
|
|
<Output TaskParameter="ConsoleOutput" PropertyName="NSwagOutput" />
|
|
</Exec>
|
|
|
|
<Message Text="$(NSwagOutput)" Condition="'$(NSwagExitCode)' == '0'" Importance="low" />
|
|
<Error Text="$(NSwagOutput)" Condition="'$(NSwagExitCode)' != '0'" />
|
|
</Target>
|
|
|
|
</Project>
|