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

System.Net.Http reference #83

Closed
flookami opened this issue Sep 4, 2017 · 3 comments
Closed

System.Net.Http reference #83

flookami opened this issue Sep 4, 2017 · 3 comments

Comments

@flookami
Copy link

flookami commented Sep 4, 2017

Hi everyone,
I'm going into an issue with the package System.Net.Http on my solution targeting the full framework v4.7
This (big) solution has plenty of projects including legacy Webforms web app
When adding seq sink package, this leads to compiler warnings and issues, sometime not really addressed by assembly bindings.

I was wondering if the referenced nuget package System.Net.Http v4.3 had features not present in the full framework or if you could just use the one installed per default in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7\System.Net‌​.Http.dll and remove the dependency on System.Net.Http v4.3 when targeting the full framework

not to mention that including this package includes automatically the following other subdependencies that adds overhead:

  <package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net462" />
  <package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net462" />
  <package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net462" />
  <package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net462" />

I think mixing ".NET Standard Nuget Framework assemblies" and full framework assemblies leads to dependency issues and should not be done

For the moment I decided to remove my Seq sink integration due to those issues, but I'm really looking forward to receiving your response! without assembly bindings solution :)

cheers

@nblumhardt
Copy link
Member

Thanks for the note, @flookami - I'll look into what it might take to provide a .NET 4.7-specific target in the package to get us around this.

@nblumhardt
Copy link
Member

#85 implements your suggestion, thank you Michael! I'll close this but track any remaining issues in the 3.4.0 build of the package via the earlier #73 ticket.

@flookami
Copy link
Author

cool! thanks a lot, we are really happy to welcome back the seq sink in our solution any sooner 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants