Replace T4 with Source Generator (#459)

* Replace T4 template with source generator

* remove space

* Added summary

---------

Co-authored-by: Burak Kaan Köse <bkaankose@outlook.com>
This commit is contained in:
Tiktack
2024-11-03 15:51:08 +01:00
committed by GitHub
parent 89ffc5d246
commit 550c8fb899
7 changed files with 235 additions and 3160 deletions

View File

@@ -70,17 +70,14 @@
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<ItemGroup>
<Compile Update="Translator.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Translator.tt</DependentUpon>
</Compile>
<AdditionalFiles Include="Translations\en_US\resources.json" />
</ItemGroup>
<ItemGroup>
<None Update="Translator.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Translator.Designer.cs</LastGenOutput>
</None>
<!-- Source Generators -->
<ProjectReference Include="..\Wino.SourceGenerators\Wino.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
</Project>