2021-12-07 18:45:24 -08:00
<Project>
2021-05-12 13:03:21 -04:00
2022-06-29 19:46:41 -04:00
<PropertyGroup>
2024-02-05 13:03:42 -05:00
<TargetFramework>net8.0</TargetFramework>
2025-07-28 14:21:49 +00:00
<Version>2025.7.2</Version>
2024-02-05 13:03:42 -05:00
2022-06-29 19:46:41 -04:00
<RootNamespace>Bit.$(MSBuildProjectName)</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
2022-09-05 11:19:04 -04:00
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
2025-02-06 17:07:43 -05:00
<!-- Treat it as a test project if the project hasn't set their own value and it follows our test project conventions -->
<IsTestProject Condition="'$(IsTestProject)' == '' and ($(MSBuildProjectName.EndsWith('.Test')) or $(MSBuildProjectName.EndsWith('.IntegrationTest')))">true</IsTestProject>
<Nullable Condition="'$(Nullable)' == '' and '$(IsTestProject)' == 'true'">annotations</Nullable>
2025-07-09 10:41:17 -04:00
<Nullable Condition="'$(Nullable)' == '' and '$(IsTestProject)' != 'true'">enable</Nullable>
2025-02-11 08:49:14 -05:00
<TreatWarningsAsErrors Condition="'$(TreatWarningsAsErrors)' == ''">true</TreatWarningsAsErrors>
2022-06-29 19:46:41 -04:00
</PropertyGroup>
2021-05-12 13:03:21 -04:00
2022-06-24 10:39:34 -04: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
-->
2024-02-05 13:03:42 -05:00
<MicrosoftNetTestSdkVersion>17.8.0</MicrosoftNetTestSdkVersion>
2022-06-24 10:39:34 -04:00
<!--
NuGet: https://www.nuget.org/packages/xunit
-->
2024-02-05 13:03:42 -05:00
<XUnitVersion>2.6.6</XUnitVersion>
2022-06-24 10:39:34 -04:00
<!--
2024-02-05 13:03:42 -05:00
NuGet: https://www.nuget.org/packages/xunit.runner.visualstudio
2022-06-24 10:39:34 -04:00
-->
2024-02-05 13:03:42 -05:00
<XUnitRunnerVisualStudioVersion>2.5.6</XUnitRunnerVisualStudioVersion>
2022-06-24 10:39:34 -04:00
<!--
2024-02-05 13:03:42 -05:00
NuGet: https://www.nuget.org/packages/coverlet.collector
2022-06-24 10:39:34 -04:00
-->
2024-02-05 13:03:42 -05:00
<CoverletCollectorVersion>6.0.0</CoverletCollectorVersion>
2022-06-24 10:39:34 -04:00
<!--
2024-02-05 13:03:42 -05:00
NuGet: https://www.nuget.org/packages/NSubstitute
2022-06-24 10:39:34 -04:00
-->
2024-02-05 13:03:42 -05:00
<NSubstituteVersion>5.1.0</NSubstituteVersion>
2022-06-24 10:39:34 -04:00
<!--
2024-02-05 13:03:42 -05:00
NuGet: https://www.nuget.org/packages/AutoFixture.Xunit2
2022-06-24 10:39:34 -04:00
-->
2024-02-05 13:03:42 -05:00
<AutoFixtureXUnit2Version>4.18.1</AutoFixtureXUnit2Version>
2022-06-24 10:39:34 -04:00
<!--
2024-02-05 13:03:42 -05:00
NuGet: https://www.nuget.org/packages/AutoFixture.AutoNSubstitute
2022-06-24 10:39:34 -04:00
-->
2024-02-05 13:03:42 -05:00
<AutoFixtureAutoNSubstituteVersion>4.18.1</AutoFixtureAutoNSubstituteVersion>
2022-06-24 10:39:34 -04:00
</PropertyGroup>
2022-09-05 11:19:04 -04: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 14:00:23 -07:00
<Output PropertyName="SourceRevisionId" TaskParameter="ConsoleOutput"/>
2022-09-05 11:19:04 -04:00
</Exec>
</Target>
<Target Name="WriteRevision" AfterTargets="SetSourceRevisionId">
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>GitHash</_Parameter1>
<_Parameter2>$(SourceRevisionId)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
</Target>
2025-07-14 14:29:17 +00:00
</Project>