Skip to content
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

Unpin assembly version #135

Closed
TylerLeonhardt opened this issue Mar 10, 2020 · 4 comments · Fixed by #227
Closed

Unpin assembly version #135

TylerLeonhardt opened this issue Mar 10, 2020 · 4 comments · Fixed by #227

Comments

@TylerLeonhardt
Copy link

Looks like the assembly version is out of sync with the actual version.

This causes issues when loading from the GAC on .NET Framework because if v3 of Serilog.Sinks.File is loaded in the GAC with assembly version 2.0.0.0... and we depend on Serilog.Sinks.File v4 functionality... things won't work.

As seen here: PowerShell/vscode-powershell#2538

@rjmholt
Copy link

rjmholt commented Mar 10, 2020

See PowerShell/vscode-powershell#2538 (comment) and PowerShell/vscode-powershell#2538 (comment) for the particular breakdown of the issue.

I see in serilog/serilog#1319 that this is by design. Is there a way to ensure we load the right DLL?

@nblumhardt
Copy link
Member

Probably time to unpin, now that the NuGet/.NET ecosystem has settled down a bit around this 👍

@nblumhardt nblumhardt changed the title Assembly version out of date with actual version Unpin assembly version Jul 29, 2020
nblumhardt added a commit to nblumhardt/serilog-sinks-file that referenced this issue Jun 22, 2021
@dkattan
Copy link

dkattan commented Jun 22, 2021

What are the next steps here?

What's the worst that can happen if we unpin the version?

@nblumhardt
Copy link
Member

@dkattan let's find out! :-)

(Most likely - we'll see an uptick in support requests from folks whose tooling doesn't generate binding redirects correctly, which was a major pain in the past, but should hopefully be less so now.)

nblumhardt added a commit that referenced this issue Jun 22, 2021
* Initial Nullable Support

* Update Nullable Reference Support

* Update appveyor config

* Update Test Project

* Update Test Project

* Code Format

* Code Refactor

* Remove unnecessary references

* Simplifying Constants

* Add More TargetFrameworks for
Update References
Cleanup References

* Remove netcoreapp3.0 to use netstandard2.0 insted

* Unpin the assembly version; fixes #135

* Remove matching test

Co-authored-by: Nicholas Blumhardt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants