-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sourcelink to nuget package #297
base: dev
Are you sure you want to change the base?
Conversation
related to #203 |
Sorry about the long delay reviewing this, I'll aim to get back around to it soon. |
@nblumhardt Proper SourceLink support would be handy in v3. |
ping @nblumhardt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just trivial changes suggested; thanks @dakhraui !
@@ -20,6 +20,14 @@ | |||
<RootNamespace>Serilog</RootNamespace> | |||
</PropertyGroup> | |||
|
|||
<PropertyGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These can go in the long list of properties already present above; we only tend to use property groups when different conditions need to be applied.
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<IsPackable>true</IsPackable> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsPackable
already defaults to true
so can be removed from this list.
@@ -36,6 +44,10 @@ | |||
<PackageReference Include="Serilog.Sinks.Debug" Version="2.0.0" /> | |||
<PackageReference Include="Serilog.Settings.Configuration" Version="3.3.0" /> | |||
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" /> | |||
<PackageReference Include="Microsoft.SourceLink.Github" Version="1.1.1"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed since NET8.
To improve development/debugging experience