|
3 | 3 | <PropertyGroup> |
4 | 4 | <TargetFrameworks>net9.0;net8.0;net481</TargetFrameworks> |
5 | 5 | <ImplicitUsings>enable</ImplicitUsings> |
6 | | - <Nullable>enable</Nullable> |
7 | 6 | <GenerateDocumentationFile>True</GenerateDocumentationFile> |
| 7 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 8 | + <DebugType>embedded</DebugType> |
8 | 9 |
|
9 | 10 | <Description>Numerics is a free and open-source library for .NET developed by USACE-RMC, providing a comprehensive set of methods and algorithms for numerical computations and statistical analysis.</Description> |
10 | 11 | <PackageProjectUrl>https://github.com/USArmy-Corps-of-Engineers-RMC/Numerics</PackageProjectUrl> |
|
28 | 29 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> |
29 | 30 | <WarningLevel>1</WarningLevel> |
30 | 31 | </PropertyGroup> |
31 | | - |
| 32 | + |
| 33 | + <!-- Otherwise targets C# 7.3 which doesn't have global usings and some other syntactic sugar utilized here. --> |
32 | 34 | <PropertyGroup Condition="'$(TargetFramework)' == 'net481'"> |
33 | 35 | <LangVersion>latest</LangVersion> |
34 | 36 | </PropertyGroup> |
35 | 37 |
|
| 38 | + |
| 39 | + <ItemGroup> |
| 40 | + <!--https://github.com/dotnet/reproducible-builds--> |
| 41 | + <PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25"> |
| 42 | + <PrivateAssets>all</PrivateAssets> |
| 43 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
| 44 | + </PackageReference> |
| 45 | + <!--https://github.com/dotnet/sourcelink/tree/main--> |
| 46 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0"> |
| 47 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 48 | + <PrivateAssets>all</PrivateAssets> |
| 49 | + </PackageReference> |
| 50 | + </ItemGroup> |
| 51 | + |
36 | 52 | <!-- Conditional dependencies for .NET Framework --> |
37 | 53 | <ItemGroup Condition="'$(TargetFramework)' == 'net481'"> |
38 | 54 | <Reference Include="System" /> |
|
64 | 80 | <Pack>True</Pack> |
65 | 81 | <PackagePath>\</PackagePath> |
66 | 82 | </None> |
67 | | - <None Include="bin\Release\README.md"> |
| 83 | + <None Include="..\README.md"> |
68 | 84 | <Pack>True</Pack> |
69 | 85 | <PackagePath>\</PackagePath> |
70 | 86 | </None> |
|
0 commit comments