mirror of
https://github.com/nsnail/dot.git
synced 2025-06-19 22:08:16 +08:00
<chore>
This commit is contained in:
9
GenerateResx.targets
Normal file
9
GenerateResx.targets
Normal file
@ -0,0 +1,9 @@
|
||||
<Project>
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<ItemGroup Condition="!Exists('$(ProjectDir)\Lang\Str.Designer.cs')">
|
||||
<Compile Include="$(ProjectDir)\Lang\Str.Designer.cs"/>
|
||||
</ItemGroup>
|
||||
<Exec Command="dotnet tool restore" StdOutEncoding="utf-8"/>
|
||||
<Exec WorkingDirectory="$(ProjectDir)\Lang" Command="dotnet t4 Str.tt" StdOutEncoding="utf-8"/>
|
||||
</Target>
|
||||
</Project>
|
Reference in New Issue
Block a user