| 123456789101112131415161718192021222324 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project>
- <!-- https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/ -->
- <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
- <Deterministic>true</Deterministic>
- <GitRepositoryRemoteName>github</GitRepositoryRemoteName>
- <!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
- <PublishRepositoryUrl>true</PublishRepositoryUrl>
- <!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
- <EmbedUntrackedSources>true</EmbedUntrackedSources>
- </PropertyGroup>
- <ItemGroup Condition=" '$(Configuration)' == 'Release' ">
- <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
- </ItemGroup>
-
- </Project>
|