mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 07:58:40 +00:00
51 lines
2.5 KiB
XML
51 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<AssemblyName>LBPUnion.ProjectLighthouse</AssemblyName>
|
|
<RootNamespace>LBPUnion.ProjectLighthouse</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BCrypt.Net-Next" Version="4.0.2"/>
|
|
<PackageReference Include="InfluxDB.Client" Version="3.2.0"/>
|
|
<PackageReference Include="JetBrains.Annotations" Version="2021.3.0"/>
|
|
<PackageReference Include="Kettu" Version="1.2.1"/>
|
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.0"/>
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.0"/>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0"/>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="6.0.0"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="gitVersion.txt"/>
|
|
<EmbeddedResource Include="gitVersion.txt">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</EmbeddedResource>
|
|
<None Remove="gitBranch.txt"/>
|
|
<EmbeddedResource Include="gitBranch.txt">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</EmbeddedResource>
|
|
<None Remove="gitRemotes.txt"/>
|
|
<EmbeddedResource Include="gitRemotes.txt">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</EmbeddedResource>
|
|
<None Remove="gitUnpushed.txt"/>
|
|
<EmbeddedResource Include="gitUnpushed.txt">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
|
<Exec Command="git describe --long --always --dirty --exclude=\* --abbrev=8 > "$(ProjectDir)/gitVersion.txt""/>
|
|
<Exec Command="git branch --show-current > "$(ProjectDir)/gitBranch.txt""/>
|
|
<Exec Command="git remote -v > "$(ProjectDir)/gitRemotes.txt""/>
|
|
<Exec Command="git log --branches --not --remotes --oneline > "$(ProjectDir)/gitUnpushed.txt""/>
|
|
</Target>
|
|
|
|
</Project>
|