Skip to content

Commit 93fff99

Browse files
committed
Add net472 test target
1 parent d11452d commit 93fff99

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<PackageVersion Include="FluentAssertions" Version="7.2.0" />
1212
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
1313
<PackageVersion Include="MSBuild.ProjectCreation" Version="15.0.0" />
14+
<PackageVersion Include="Polyfill" Version="8.8.1" />
1415
<PackageVersion Include="xunit.v3" Version="3.0.1" />
1516
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.4" />
1617
</ItemGroup>

tests/DotNet.ReproducibleBuilds.Tests/DotNet.ReproducibleBuilds.Tests.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net8.0;net9.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<LangVersion>latest</LangVersion>
8+
<OutputType>Exe</OutputType>
79

810
<IsTestProject>true</IsTestProject>
911
</PropertyGroup>
@@ -21,6 +23,10 @@
2123
<PrivateAssets>all</PrivateAssets>
2224
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2325
</PackageReference>
26+
<PackageReference Include="Polyfill">
27+
<PrivateAssets>all</PrivateAssets>
28+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
29+
</PackageReference>
2430
</ItemGroup>
2531

2632
<ItemGroup>

0 commit comments

Comments
 (0)