42 lines
1.7 KiB
XML
42 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<RootNamespace>Lunar.Exchange.Lapis</RootNamespace>
|
|
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<SelfContained>true</SelfContained>
|
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
|
<PublishReadyToRun>true</PublishReadyToRun>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<VersionPrefix>0.1.0</VersionPrefix>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="SetSourceRevisionId" BeforeTargets="InitializeSourceControlInformation">
|
|
<Exec
|
|
Command="which git > /dev/null 2>&1 && git describe --long --always --dirty --exclude=* --abbrev=8 2>/dev/null || echo -n $VCS_DESCRIBE"
|
|
EchoOff="True"
|
|
ConsoleToMSBuild="True"
|
|
IgnoreExitCode="False"
|
|
>
|
|
<Output PropertyName="SourceRevisionId" TaskParameter="ConsoleOutput"/>
|
|
</Exec>
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AspNetCore.HealthChecks.Sqlite" Version="6.0.2" />
|
|
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1" PrivateAssets="All"/>
|
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.4" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.4" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.4">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.4" />
|
|
</ItemGroup>
|
|
</Project>
|