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

Add sourcelink to nuget package #297

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

Open
dakhraui wants to merge 1 commit into serilog:dev
base: dev
Choose a base branch
Loading
from dakhraui:dev
Open

Conversation

Copy link

@dakhraui dakhraui commented May 19, 2022

To improve development/debugging experience

Copy link
Author

related to #203

Copy link
Member

Sorry about the long delay reviewing this, I'll aim to get back around to it soon.

Copy link
Contributor

@nblumhardt Proper SourceLink support would be handy in v3.

Copy link
Contributor

nblumhardt reacted with thumbs up emoji

Copy link
Member

@nblumhardt nblumhardt left a 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>
Copy link
Member

@nblumhardt nblumhardt Jun 29, 2023

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>
Copy link
Member

@nblumhardt nblumhardt Jun 29, 2023

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">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed since NET8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@nblumhardt nblumhardt nblumhardt requested changes

+1 more reviewer

@sungam3r sungam3r sungam3r left review comments

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

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