PM-3350 PM-3349 Added property to Directory.Build.props to enable Unit Testing globally so Test runners work

This commit is contained in:
Federico Maccaroni 2024-01-17 13:22:00 -03:00
parent 0a1fbfafb5
commit 6b9eeba88d
No known key found for this signature in database
GPG key ID: 5D233F8F2B034536
2 changed files with 2 additions and 5 deletions

View file

@ -1,5 +1,7 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<MauiVersion>8.0.4-nightly.*</MauiVersion> <MauiVersion>8.0.4-nightly.*</MauiVersion>
<!-- Uncomment this when Unit Testing-->
<!-- <CustomConstants>UT</CustomConstants> -->
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View file

@ -4,11 +4,6 @@
<TargetFrameworks>net8.0</TargetFrameworks> <TargetFrameworks>net8.0</TargetFrameworks>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<RootNamespace>Bit.Core.Test</RootNamespace> <RootNamespace>Bit.Core.Test</RootNamespace>
<!-- Uncomment this to load the referenced projects into this one. I've added the restriction so it doesn't mess up with the restore.
This is useful when working with the test project.
<CustomConstants>UT</CustomConstants>
-->
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">