Skip to content

Commit 22427b4

Browse files
Deterministic builds, AOT and trimming.
1 parent a35b743 commit 22427b4

14 files changed

+68
-926
lines changed

Directory.Build.props

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project>
2+
<PropertyGroup>
3+
<LangVersion>latest</LangVersion>
4+
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
5+
<CheckNotRecommendedTargetFramework>false</CheckNotRecommendedTargetFramework>
6+
<CheckEolTargetFramework>false</CheckEolTargetFramework>
7+
</PropertyGroup>
8+
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
9+
<DefineConstants>TRIMMING_COMPATIBLE</DefineConstants>
10+
</PropertyGroup>
11+
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">
12+
<DefineConstants>AOT_COMPATIBLE</DefineConstants>
13+
</PropertyGroup>
14+
</Project>

Directory.Packages.props

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
7+
<PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.2.4" />
8+
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
9+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
10+
<PackageVersion Include="System.Memory" Version="4.5.5" />
11+
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
12+
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
13+
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
14+
<PackageVersion Include="ThreadSafeRandomizer" Version="1.2.0" />
15+
<PackageVersion Include="xunit" Version="2.9.0" />
16+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
17+
</ItemGroup>
18+
</Project>

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Mark Cilia Vincenti
3+
Copyright (c) 2024 Mark Cilia Vincenti
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

ListShuffle.Tests.Net60/ListShuffle.Tests.Net60.csproj

-26
This file was deleted.

ListShuffle.Tests.Net60/Tests.cs

-270
This file was deleted.

ListShuffle.Tests.Net80/ListShuffle.Tests.Net80.csproj

-26
This file was deleted.

0 commit comments

Comments
 (0)