Skip to content

Commit c3a6657

Browse files
committed
Package: deterministic build with SourceLink
1 parent f79903c commit c3a6657

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

src/Spectrogram/Spectrogram.csproj

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,27 @@
1515
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1616
<IncludeSymbols>true</IncludeSymbols>
1717
<PackageReadmeFile>README.md</PackageReadmeFile>
18+
<DebugType>portable</DebugType>
19+
<IncludeSymbols>true</IncludeSymbols>
20+
<!--<SymbolPackageFormat>snupkg</SymbolPackageFormat> --> <!-- https://github.com/NuGet/Home/issues/10791 -->
21+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22+
<Deterministic>true</Deterministic>
23+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
1824
</PropertyGroup>
1925

2026
<ItemGroup>
21-
<PackageReference Include="FftSharp" Version="1.0.9" />
22-
<PackageReference Include="System.Drawing.Common" Version="4.6.1" />
23-
<PackageReference Include="runtime.osx.10.10-x64.CoreCompat.System.Drawing" Version="5.8.64" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'" />
2427
<None Include="icon.png" Pack="true" PackagePath="\" />
2528
<None Include="README.md" Pack="true" PackagePath="\" />
2629
</ItemGroup>
2730

31+
<ItemGroup>
32+
<PackageReference Include="FftSharp" Version="1.0.12" />
33+
<PackageReference Include="System.Drawing.Common" Version="4.6.1" />
34+
<PackageReference Include="runtime.osx.10.10-x64.CoreCompat.System.Drawing" Version="5.8.64" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'" />
35+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
36+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
37+
<PrivateAssets>all</PrivateAssets>
38+
</PackageReference>
39+
</ItemGroup>
40+
2841
</Project>

0 commit comments

Comments
 (0)