mirror of
https://github.com/nsnail/dot.git
synced 2025-06-17 21:13:21 +08:00
<chore>
This commit is contained in:
parent
ed3f112d18
commit
1bb3a4f8bf
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>
|
29
dot.sln
29
dot.sln
@ -5,20 +5,23 @@ VisualStudioVersion = 17.0.31903.59
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dot", "src\dot.csproj", "{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root-files", "root-files", "{AD79881E-74D9-4EC7-AFE9-82D10CD32C3A}"
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "meta", "meta", "{AD79881E-74D9-4EC7-AFE9-82D10CD32C3A}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
.editorconfig = .editorconfig
|
||||
.gitattributes = .gitattributes
|
||||
.gitignore = .gitignore
|
||||
.tgitconfig = .tgitconfig
|
||||
build.ps1 = build.ps1
|
||||
code-format.cmd = code-format.cmd
|
||||
Directory.Build.props = Directory.Build.props
|
||||
dot.sln.DotSettings = dot.sln.DotSettings
|
||||
git-clean.ps1 = git-clean.ps1
|
||||
LICENSE = LICENSE
|
||||
README.md = README.md
|
||||
global.json = global.json
|
||||
.gitignore = .gitignore
|
||||
dot.sln.DotSettings = dot.sln.DotSettings
|
||||
.gitattributes = .gitattributes
|
||||
.editorconfig = .editorconfig
|
||||
LICENSE = LICENSE
|
||||
README.md = README.md
|
||||
README.zh-CN.md = README.zh-CN.md
|
||||
Directory.Build.props = Directory.Build.props
|
||||
global.json = global.json
|
||||
dotnet-tools.json = dotnet-tools.json
|
||||
build.ps1 = build.ps1
|
||||
.tgitconfig = .tgitconfig
|
||||
git-clean.ps1 = git-clean.ps1
|
||||
code-format.cmd = code-format.cmd
|
||||
GenerateResx.targets = GenerateResx.targets
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
|
@ -24,10 +24,10 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CommandLineParser" Version="2.9.1"/>
|
||||
<PackageReference Include="NSExt" Version="1.0.6"/>
|
||||
<PackageReference Include="ShellProgressBar" Version="5.2.0"/>
|
||||
<PackageReference Include="TextCopy" Version="6.2.0"/>
|
||||
<PackageReference Include="CommandLineParser" Version="2.9.1" />
|
||||
<PackageReference Include="NSExt" Version="1.0.6" />
|
||||
<PackageReference Include="ShellProgressBar" Version="5.2.0" />
|
||||
<PackageReference Include="TextCopy" Version="6.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@ -38,20 +38,6 @@
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Lang\Str.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Str.resx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<ItemGroup Condition="!Exists('Lang\Str.Designer.cs')">
|
||||
<Compile Include="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>
|
||||
<Import Project="../GenerateResx.targets" />
|
||||
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user