-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathOpen.RandomizationExtensions.csproj
More file actions
62 lines (55 loc) · 2.9 KB
/
Copy pathOpen.RandomizationExtensions.csproj
File metadata and controls
62 lines (55 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0; netstandard2.1; net8.0; net10.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest-all</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- CA5394: this library is explicitly a non-cryptographic randomization utility;
System.Random is the point. Cryptographic selection is out of scope.
CA1510: ArgumentNullException.ThrowIfNull does not exist on netstandard2.0;
guards must compile identically on every target. -->
<NoWarn>$(NoWarn);CA5394;CA1510</NoWarn>
<Authors>electricessence</Authors>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Description>
A useful set of extensions for randomly selecting from sets.
Part of the "Open" set of libraries.
</Description>
<PackageTags>random;select</PackageTags>
<Copyright>© electricessence (Oren F.) All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/Open-NET-Libraries/Open.RandomizationExtensions</PackageProjectUrl>
<RepositoryUrl>https://github.com/Open-NET-Libraries/Open.RandomizationExtensions</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<Version>2.6.0</Version>
<PackageReleaseNotes>Adds net8.0 and net10.0 targets; net10.0 gains allocation-free params-span exclusion overloads. Default RNG is now thread-safe: Random.Shared on net8.0/net10.0 assets, one instance per thread on netstandard assets. Note: 2.5.4 annotated Try-pattern out parameters with MaybeNullWhen(false); consumers compiling with strict nullable warnings may see new (correct) warnings where a Try result was dereferenced without checking the returned bool. Includes all 2.5.4 fixes.</PackageReleaseNotes>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageIcon>logo.png</PackageIcon>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.*" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Buffers" Version="4.5.1" />
<PackageReference Include="System.Memory" Version="4.5.4" />
</ItemGroup>
<ItemGroup>
<!-- The library project lives at the repo root, so the default SDK globs would
otherwise sweep the nested test project's sources into this compilation. -->
<Compile Remove="tests\**" />
<None Remove="tests\**" />
</ItemGroup>
<ItemGroup>
<None Remove=".gitattributes" />
<None Remove=".gitignore" />
<None Include="logo.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>