|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
2 | 3 | <PropertyGroup> |
3 | | - <TargetFrameworks>net9.0;net8.0;net6.0</TargetFrameworks> |
4 | | - <TargetFrameworks Condition="!$([MSBuild]::IsOsUnixLike())">$(TargetFrameworks);net472</TargetFrameworks> |
5 | 4 | <Description>The unit tests for our pre-built mocks</Description> |
6 | 5 | <AssemblyName>System.IO.Abstractions.TestingHelpers.Tests</AssemblyName> |
7 | 6 | <RootNamespace>System.IO.Abstractions.TestingHelpers.Tests</RootNamespace> |
8 | | - <IsPackable>false</IsPackable> |
9 | | - <IsTestable>true</IsTestable> |
10 | 7 | </PropertyGroup> |
| 8 | + |
| 9 | + <ItemGroup> |
| 10 | + <ProjectReference Include="../../src/TestableIO.System.IO.Abstractions.TestingHelpers/TestableIO.System.IO.Abstractions.TestingHelpers.csproj" /> |
| 11 | + </ItemGroup> |
| 12 | + |
11 | 13 | <PropertyGroup> |
12 | 14 | <!-- |
13 | 15 | Ensure that test logger is copied to output directory, see |
14 | 16 | https://github.com/Tyrrrz/GitHubActionsTestLogger/issues/5 |
15 | 17 | --> |
16 | 18 | <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
17 | 19 | </PropertyGroup> |
| 20 | + |
18 | 21 | <ItemGroup> |
19 | 22 | <None Remove="TestFiles\SecondTestFile.txt" /> |
20 | 23 | <None Remove="TestFiles\TestFile.txt" /> |
21 | | - </ItemGroup> |
22 | | - <ItemGroup> |
23 | 24 | <EmbeddedResource Include="TestFiles\SecondTestFile.txt" /> |
24 | 25 | <EmbeddedResource Include="TestFiles\TestFile.txt" /> |
25 | 26 | </ItemGroup> |
26 | | - <ItemGroup> |
27 | | - <ProjectReference Include="../../src/TestableIO.System.IO.Abstractions.TestingHelpers/TestableIO.System.IO.Abstractions.TestingHelpers.csproj" /> |
28 | | - </ItemGroup> |
29 | | - <ItemGroup> |
30 | | - <PackageReference Include="coverlet.collector"> |
31 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
32 | | - <PrivateAssets>all</PrivateAssets> |
33 | | - </PackageReference> |
34 | | - <PackageReference Include="GitHubActionsTestLogger" /> |
35 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
36 | | - <PackageReference Include="Moq" /> |
37 | | - <PackageReference Include="NUnit" /> |
38 | | - <PackageReference Include="NUnit.Analyzers"> |
39 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
40 | | - <PrivateAssets>all</PrivateAssets> |
41 | | - </PackageReference> |
42 | | - <PackageReference Include="NUnit3TestAdapter" /> |
43 | | - </ItemGroup> |
44 | | - <ItemGroup> |
45 | | - <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> |
46 | | - </ItemGroup> |
47 | | - <PropertyGroup> |
48 | | - <!-- |
49 | | - Allow deprecated binary formatter functionality on .NET 8 so that we can test it |
50 | | - --> |
51 | | - <EnableUnsafeBinaryFormatterSerialization Condition="'$(TargetFramework)' == 'net8.0'">true</EnableUnsafeBinaryFormatterSerialization> |
52 | | - </PropertyGroup> |
| 27 | + |
53 | 28 | </Project> |
0 commit comments