Enable SourceLink (#267)

This commit is contained in:
Frederik Carlier
2019-03-22 18:34:52 +01:00
committed by Kubernetes Prow Robot
parent 6b12a11786
commit b43dfd1711

View File

@@ -17,6 +17,13 @@
<AssemblyOriginatorKeyFile>kubernetes-client.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>1701;1702;1591;1570;1572;1573;1574</NoWarn>
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
@@ -28,6 +35,7 @@
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.6.68" PrivateAssets="all" Condition="'$(MSBuildRuntimeType)' != 'Core'" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="YamlDotNet.Signed" Version="5.1.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net452' OR '$(TargetFramework)' == 'net461'">
<Reference Include="System.Net.Http.WebRequest" />