This repository was archived by the owner on Jun 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 192
Rebuild Serilog.Sinks.Elasticsearch with the latest version of depend… #20
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ec6b557
Rebuild Serilog.Sinks.Elasticsearch with the latest version of depend…
konste 321b689
Reverted the change to .nuspec file which inadvertently broke net40 s…
konste 721f46b
Fixed package reference in the test project.
konste b4248b2
Fixed package references for Serilog.Sinks.Elasticsearch-net40.csproj.
konste 73d72e2
Fixed 40 project to reference 40 version of dependencies.
konste File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Elasticsearch.Net" version="1.1.2" targetFramework="net45" /> | ||
<package id="Serilog" version="1.4.196" targetFramework="net45" /> | ||
<package id="Elasticsearch.Net" version="1.7.1" targetFramework="net45" /> | ||
<package id="Serilog" version="1.5.14" targetFramework="net45" /> | ||
</packages> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Elasticsearch.Net" version="1.2.3" targetFramework="net45" /> | ||
<package id="Elasticsearch.Net.JsonNET" version="1.2.3" targetFramework="net45" /> | ||
<package id="FakeItEasy" version="1.25.0" targetFramework="net45" /> | ||
<package id="FluentAssertions" version="3.2.1" targetFramework="net45" /> | ||
<package id="Newtonsoft.Json" version="6.0.6" targetFramework="net45" /> | ||
<package id="NUnit" version="2.6.3" targetFramework="net45" /> | ||
<package id="Serilog" version="1.4.196" targetFramework="net45" /> | ||
<package id="Elasticsearch.Net" version="1.7.1" targetFramework="net45" /> | ||
<package id="Elasticsearch.Net.JsonNET" version="1.7.1" targetFramework="net45" /> | ||
<package id="FakeItEasy" version="1.25.3" targetFramework="net45" /> | ||
<package id="FluentAssertions" version="4.1.1" targetFramework="net45" /> | ||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" /> | ||
<package id="NUnit" version="3.0.1" targetFramework="net45" /> | ||
<package id="Serilog" version="1.5.14" targetFramework="net45" /> | ||
</packages> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Dropping support for .NET 4? (The 4.5 binaries are included in the package by default.)
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.
I was not sure how exactly support for net40 is done. Are you saying those two lines should stay as they were? My concern is that the sink's own packages.config (there is only one) always refers to net45 version of Serilog and SerilogFullNetFx, so it seems like what this sink builds as net40 still requires 4.5!
In short - it seems to me that Serilog.Sinks.Elasticsearch already dropped net40 silently. I may be wrong though.
Do you know what specific nuget command is used to build the package with both binaries? I don't see it among the sources.
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.
I just discovered Build.ps1. Taking another look.
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.
Ok, those two lines are reverted. Thanks for catching that quickly!