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