33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<NoWarn>$(NoWarn);1591;8618</NoWarn>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="System.CommandLine" Version="2.0.0-beta3.22111.2" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Razor.Language" Version="6.0.2" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.0.1" />
|
|
<PackageReference Include="HtmlAgilityPack" Version="1.11.42" />
|
|
</ItemGroup>
|
|
<PropertyGroup>
|
|
<VersionPrefix>1.0.1</VersionPrefix>
|
|
<RootNamespace>QuestReader</RootNamespace>
|
|
</PropertyGroup>
|
|
<Target Name="SetSourceRevisionId" BeforeTargets="InitializeSourceControlInformation">
|
|
<Exec
|
|
Command="git describe --long --always --dirty --exclude=* --abbrev=8"
|
|
ConsoleToMSBuild="True"
|
|
IgnoreExitCode="False"
|
|
>
|
|
<Output PropertyName="SourceRevisionId" TaskParameter="ConsoleOutput"/>
|
|
</Exec>
|
|
</Target>
|
|
</Project>
|