Skip to content

Commit 9c3c5ff

Browse files
committed
自动更新系统日期工具注册为服务
1 parent 79549b5 commit 9c3c5ff

File tree

5 files changed

+576
-0
lines changed

5 files changed

+576
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net10.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<ApplicationManifest>app.manifest</ApplicationManifest>
9+
<PublishAot>true</PublishAot>
10+
<PackageIcon>Icon.ico</PackageIcon>
11+
<ApplicationIcon>Icon.ico</ApplicationIcon>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="10.0.1" />
16+
</ItemGroup>
17+
18+
</Project>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoUpdateSystemTime", "AutoUpdateSystemTime.csproj", "{A452A0A6-A671-4859-B6ED-51818FA56743}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug|x64 = Debug|x64
12+
Debug|x86 = Debug|x86
13+
Release|Any CPU = Release|Any CPU
14+
Release|x64 = Release|x64
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Debug|x64.ActiveCfg = Debug|Any CPU
21+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Debug|x64.Build.0 = Debug|Any CPU
22+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Debug|x86.ActiveCfg = Debug|Any CPU
23+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Debug|x86.Build.0 = Debug|Any CPU
24+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Release|x64.ActiveCfg = Release|Any CPU
27+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Release|x64.Build.0 = Release|Any CPU
28+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Release|x86.ActiveCfg = Release|Any CPU
29+
{A452A0A6-A671-4859-B6ED-51818FA56743}.Release|x86.Build.0 = Release|Any CPU
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
EndGlobal
21.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)