mirror of
https://github.com/nsnail/dot.git
synced 2025-06-18 05:23: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
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dot", "src\dot.csproj", "{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dot", "src\dot.csproj", "{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}"
|
||||||
EndProject
|
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
|
ProjectSection(SolutionItems) = preProject
|
||||||
.editorconfig = .editorconfig
|
.gitignore = .gitignore
|
||||||
.gitattributes = .gitattributes
|
dot.sln.DotSettings = dot.sln.DotSettings
|
||||||
.gitignore = .gitignore
|
.gitattributes = .gitattributes
|
||||||
.tgitconfig = .tgitconfig
|
.editorconfig = .editorconfig
|
||||||
build.ps1 = build.ps1
|
LICENSE = LICENSE
|
||||||
code-format.cmd = code-format.cmd
|
README.md = README.md
|
||||||
Directory.Build.props = Directory.Build.props
|
README.zh-CN.md = README.zh-CN.md
|
||||||
dot.sln.DotSettings = dot.sln.DotSettings
|
Directory.Build.props = Directory.Build.props
|
||||||
git-clean.ps1 = git-clean.ps1
|
global.json = global.json
|
||||||
LICENSE = LICENSE
|
dotnet-tools.json = dotnet-tools.json
|
||||||
README.md = README.md
|
build.ps1 = build.ps1
|
||||||
global.json = global.json
|
.tgitconfig = .tgitconfig
|
||||||
|
git-clean.ps1 = git-clean.ps1
|
||||||
|
code-format.cmd = code-format.cmd
|
||||||
|
GenerateResx.targets = GenerateResx.targets
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="CommandLineParser" Version="2.9.1"/>
|
<PackageReference Include="CommandLineParser" Version="2.9.1" />
|
||||||
<PackageReference Include="NSExt" Version="1.0.6"/>
|
<PackageReference Include="NSExt" Version="1.0.6" />
|
||||||
<PackageReference Include="ShellProgressBar" Version="5.2.0"/>
|
<PackageReference Include="ShellProgressBar" Version="5.2.0" />
|
||||||
<PackageReference Include="TextCopy" Version="6.2.0"/>
|
<PackageReference Include="TextCopy" Version="6.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
||||||
@ -38,20 +38,6 @@
|
|||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<Import Project="../GenerateResx.targets" />
|
||||||
<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>
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
Loading…
x
Reference in New Issue
Block a user