Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d37a73e

Browse files
committed
Add sourcelink to nuget package
1 parent 532fd1b commit d37a73e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎src/Serilog.AspNetCore/Serilog.AspNetCore.csproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
<RepositoryType>git</RepositoryType>
1919
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
2020
<RootNamespace>Serilog</RootNamespace>
21+
<PropertyGroup>
22+
23+
</PropertyGroup>
24+
<IncludeSymbols>true</IncludeSymbols>
25+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
26+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
27+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
28+
<IsPackable>true</IsPackable>
2129
</PropertyGroup>
2230

2331
<ItemGroup>
@@ -36,6 +44,10 @@
3644
<PackageReference Include="Serilog.Sinks.Debug" Version="2.0.0" />
3745
<PackageReference Include="Serilog.Settings.Configuration" Version="3.3.0" />
3846
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
47+
<PackageReference Include="Microsoft.SourceLink.Github" Version="1.1.1">
48+
<PrivateAssets>all</PrivateAssets>
49+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
50+
</PackageReference>
3951
</ItemGroup>
4052

4153
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /