50 lines
1.6 KiB
XML
50 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<PublishSingleFile>True</PublishSingleFile>
|
|
<SelfContained>True</SelfContained>
|
|
<PublishTrimmed>True</PublishTrimmed>
|
|
|
|
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
|
|
<Version Condition="'$(RELEASE_VERSION)' != ''">$(RELEASE_VERSION)</Version>
|
|
<VersionPrefix Condition="'$(RELEASE_VERSION)' == ''">0.0.3</VersionPrefix>
|
|
<VersionSuffix Condition="'$(RELEASE_VERSION)' == ''">$([System.DateTime]::UtcNow.ToString(`yyyyMMdd-HHmm`))</VersionSuffix>
|
|
</PropertyGroup>
|
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<!-- Here we define the Debug Build.
|
|
-->
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<DefineDebug>true</DefineDebug>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
|
|
<TrimmerSingleWarn>false</TrimmerSingleWarn>
|
|
<DebugSymbols>false</DebugSymbols>
|
|
<DefineDebug>false</DefineDebug>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Serilog" Version="4.3.0" />
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
|
<PackageReference Include="spectre.console" Version="0.54.0" />
|
|
<PackageReference Include="system.commandline" Version="2.0.1" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|