Start of buildtool

This commit is contained in:
Simon Lübeß
2025-10-23 11:09:48 +02:00
parent 419ed7c9d2
commit 1eeab94575
7 changed files with 1000 additions and 4 deletions
+31
View File
@@ -0,0 +1,31 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PublishAot>true</PublishAot>
<PackAsTool>true</PackAsTool>
<UserSecretsId>build-7f7a4354050726fe6f1b5cfd0a8592d0ee71bab853fc1c5c128d53981653347c</UserSecretsId>
<StartupObject>BuildTool.Program</StartupObject>
<PublishSingleFile>true</PublishSingleFile>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>link</TrimMode>
<DeploymentPath>$(SolutionDir)..</DeploymentPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SimpleExec" Version="12.0.0" />
<PackageReference Include="System.CommandLine" Version="2.0.0-rc.2.25502.107" />
</ItemGroup>
<Target Name="CopyExe" AfterTargets="Publish">
<Copy SourceFiles="$(PublishDir)$(TargetName).exe"
DestinationFolder="$(DeploymentPath)"
SkipUnchangedFiles="true" />
</Target>
</Project>