2021-12-08 03:45:24 +01:00
|
|
|
<Project>
|
2021-05-12 19:03:21 +02:00
|
|
|
|
2022-06-30 01:46:41 +02:00
|
|
|
<PropertyGroup>
|
|
|
|
<TargetFramework>net6.0</TargetFramework>
|
2023-12-05 16:55:20 +01:00
|
|
|
<Version>2023.12.0</Version>
|
2022-06-30 01:46:41 +02:00
|
|
|
<RootNamespace>Bit.$(MSBuildProjectName)</RootNamespace>
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
2022-09-05 17:19:04 +02:00
|
|
|
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
2022-06-30 01:46:41 +02:00
|
|
|
</PropertyGroup>
|
2021-05-12 19:03:21 +02:00
|
|
|
|
2022-06-24 16:39:34 +02:00
|
|
|
<!--
|
|
|
|
This section is for packages that we use multiple times throughout the solution
|
|
|
|
It gives us a single place to manage the version to ensure we are using the same version
|
|
|
|
across the solution.
|
|
|
|
-->
|
|
|
|
<PropertyGroup>
|
|
|
|
<!--
|
|
|
|
NuGet: https://www.nuget.org/packages/Microsoft.NET.Test.Sdk
|
|
|
|
-->
|
|
|
|
<MicrosoftNetTestSdkVersion>17.1.0</MicrosoftNetTestSdkVersion>
|
|
|
|
<!--
|
|
|
|
NuGet: https://www.nuget.org/packages/xunit
|
|
|
|
-->
|
|
|
|
<XUnitVersion>2.4.1</XUnitVersion>
|
|
|
|
<!--
|
|
|
|
NuGet: https://www.nuget.org/packages/xunit
|
|
|
|
-->
|
|
|
|
<XUnitRunnerVisualStudioVersion>2.4.3</XUnitRunnerVisualStudioVersion>
|
|
|
|
<!--
|
|
|
|
NuGet: https://www.nuget.org/packages/coverlet.collector/
|
|
|
|
-->
|
|
|
|
<CoverletCollectorVersion>3.1.2</CoverletCollectorVersion>
|
|
|
|
<!--
|
|
|
|
NuGet: https://www.nuget.org/packages/NSubstitute/
|
|
|
|
-->
|
2023-05-17 12:14:36 +02:00
|
|
|
<NSubstituteVersion>4.3.0</NSubstituteVersion>
|
2022-06-24 16:39:34 +02:00
|
|
|
<!--
|
|
|
|
NuGet: https://www.nuget.org/packages/AutoFixture.Xunit2/
|
|
|
|
-->
|
|
|
|
<AutoFixtureXUnit2Version>4.17.0</AutoFixtureXUnit2Version>
|
|
|
|
<!--
|
|
|
|
NuGet: https://www.nuget.org/packages/AutoFixture.AutoNSubstitute/
|
|
|
|
-->
|
|
|
|
<AutoFixtureAutoNSubstituteVersion>4.17.0</AutoFixtureAutoNSubstituteVersion>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2022-09-05 17:19:04 +02:00
|
|
|
<!--
|
|
|
|
This section is for getting & setting the gitHash value, which can easily be accessed
|
|
|
|
via the Core.Utilities.AssemblyHelpers class.
|
|
|
|
-->
|
|
|
|
<Target Name="SetSourceRevisionId" BeforeTargets="CoreGenerateAssemblyInfo">
|
|
|
|
<Exec Command="git describe --long --always --dirty --exclude=* --abbrev=8" ConsoleToMSBuild="True" IgnoreExitCode="False">
|
2022-09-06 23:00:23 +02:00
|
|
|
<Output PropertyName="SourceRevisionId" TaskParameter="ConsoleOutput"/>
|
2022-09-05 17:19:04 +02:00
|
|
|
</Exec>
|
|
|
|
</Target>
|
|
|
|
<Target Name="WriteRevision" AfterTargets="SetSourceRevisionId">
|
|
|
|
<ItemGroup>
|
|
|
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
|
|
|
|
<_Parameter1>GitHash</_Parameter1>
|
|
|
|
<_Parameter2>$(SourceRevisionId)</_Parameter2>
|
|
|
|
</AssemblyAttribute>
|
|
|
|
</ItemGroup>
|
|
|
|
</Target>
|
|
|
|
|
2023-07-25 21:09:05 +02:00
|
|
|
</Project>
|