上传文件至 /
This commit is contained in:
26
update.csproj
Normal file
26
update.csproj
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<StartupObject>Program</StartupObject>
|
||||||
|
|
||||||
|
<!-- 生成 exe 相关 -->
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <!-- 必须指定,否则只生成 dll -->
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<PublishSingleFile>true</PublishSingleFile> <!-- 生成单文件 exe -->
|
||||||
|
<SelfContained>true</SelfContained> <!-- false:依赖本地 .NET 8 Runtime -->
|
||||||
|
|
||||||
|
<!-- 输出目录 -->
|
||||||
|
<PublishDir>$(MSBuildProjectDirectory)\OUT\</PublishDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="MySql.Data" Version="9.4.0" />
|
||||||
|
<PackageReference Include="System.Management" Version="9.0.8" />
|
||||||
|
<PackageReference Include="YamlDotNet" Version="16.3.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
25
update.sln
Normal file
25
update.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.14.36414.22 d17.14
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "update", "update.csproj", "{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {A8326E7B-4DBC-4A9B-8869-EB3A3CEE683F}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
Reference in New Issue
Block a user