Replaces the client and server controller implementations with generated code from the shared project.
43 lines
1.5 KiB
XML
43 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<WarningsAsErrors>NU1605;CS8618</WarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<WarningsAsErrors>NU1605;CS8618</WarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AutoMapper" Version="9.0.0" />
|
|
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.2" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.2" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.0.0" />
|
|
<PackageReference Include="Z.ExtensionMethods" Version="2.1.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\EstusShots.Shared\EstusShots.Shared.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="Controllers\Controllers.tt">
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
<LastGenOutput>Controllers.cs</LastGenOutput>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Controllers\Controllers.cs">
|
|
<DependentUpon>Controllers.tt</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
</Project>
|