Skip to content

Commit c815ba9

Browse files
committed
Add back missing SourceLink
It was lost in a bad merge conflict handling. Fixes: commit b958303 Author: Tristan Milnthorp <[email protected]> Date: Tue Nov 6 11:12:52 2018 -0500 Sign all packages and remove .Signed packages (#539)
1 parent 2161082 commit c815ba9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.csproj

+8
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
<TargetFrameworks>netstandard2.0;net40</TargetFrameworks>
2626
</PropertyGroup>
2727

28+
<!-- SourceLink -->
29+
<PropertyGroup>
30+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
31+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
32+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
33+
</PropertyGroup>
34+
2835
<!-- Strong name signing -->
2936
<PropertyGroup>
3037
<AssemblyOriginatorKeyFile>../UnitsNet.snk</AssemblyOriginatorKeyFile>
@@ -35,6 +42,7 @@
3542
<!-- NuGet references that work for both signed and unsigned -->
3643
<ItemGroup>
3744
<PackageReference Include="JetBrains.Annotations" Version="10.4.0" PrivateAssets="All" />
45+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All"/>
3846
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
3947
</ItemGroup>
4048

UnitsNet/UnitsNet.csproj

+8
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
<TargetFrameworks>netstandard2.0;net40</TargetFrameworks>
2626
</PropertyGroup>
2727

28+
<!-- SourceLink -->
29+
<PropertyGroup>
30+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
31+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
32+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
33+
</PropertyGroup>
34+
2835
<!-- Strong name signing -->
2936
<PropertyGroup>
3037
<AssemblyOriginatorKeyFile>../UnitsNet.snk</AssemblyOriginatorKeyFile>
@@ -35,6 +42,7 @@
3542
<!-- NuGet references that work for both signed and unsigned -->
3643
<ItemGroup>
3744
<PackageReference Include="JetBrains.Annotations" Version="10.4.0" PrivateAssets="All" />
45+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All"/>
3846
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
3947
</ItemGroup>
4048

0 commit comments

Comments
 (0)