26 lines
642 B
XML
26 lines
642 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Fleck" Version="1.2.0" />
|
|
<PackageReference Include="MySqlConnector" Version="2.3.7" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
|
<Exec Command="git describe --tags --abbrev=0 --always > version.txt" />
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<None Remove="version.txt" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="version.txt" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|