Add code generation.

Replaces the client and server controller implementations with generated code from the shared project.
This commit is contained in:
2020-03-13 20:16:53 +01:00
parent 7bd44091cf
commit 42bca48742
29 changed files with 542 additions and 499 deletions

View File

@@ -26,4 +26,17 @@
<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>