-
Notifications
You must be signed in to change notification settings - Fork 587
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
.Net 4.5 References #601
.Net 4.5 References #601
Conversation
We have not been able to merge your Pull Request, but because you are awesome - we wanted to make sure you could still get a SendGrid Hacktoberfest shirt. Please go fill out our swag form before Nov 5th and we will send the shirt! (We know that you might have tried this before and it didn’t work, sorry about that!) You have till Nov 5th to fill out this form in order to get the Hacktoberfest shirt!Thank you for contributing during Hacktoberfest! We hope to see you in the repos soon! Just so you know, we always give away a SendGrid shirt for your first ever non-Hacktoberfest PR that gets merged. |
Would be great to see this merged in as we have been running into issues with System.Net.Http getting pulled in versus using the framework's assembly (we're running on .net 4.5+). |
Thanks for the additional feedback @bmeredith, your vote helps move this up our backlog queue. |
I'll second @bmeredith 's comment. Would be awesome if this was merged. We are running into a similar situation. Thanks! |
Thanks @fpmess! |
I am running into the same issue as others posted, as well. Our app is .NET 4.5+. |
Hi. Is there any update on this? Just got bit by this again in. Is a simple update and a minor release |
Thanks for the additional vote @felipeleusin, this issue is still rising up our backlog and your vote helps that process move quicker. Thanks! |
Hi, any update on this? I can update this PR to target .Net Standart 2.0 if you need. Just saw this discussion: |
Hi @felipeleusin, This is still on our backlog waiting to bubble up. Unfortunately, I have quite a long list of issues before this one :( I'm not sure if we want/need to update to .NET Standard 2.0 since 1.3 gives us broader support and we don't have any 2.0 specific functionality in this SDK. With Best Regards, Elmer |
I think the idea is if you target both |
Not only that. There are problems when you reference the Nuget when you
shouldn't. Specially with the changes from .Net Core 1 to 2, when they
rolled back on bringing in all the framework packages locally.
The folks at IdentityServer just published a post about this:
https://leastprivilege.com/2018/05/21/the-state-of-httpclient-and-net-multi-targeting/
And every once in a while we have problems since the Nuget is a dependency.
|
Thanks for weighing in, much appreciated! Agreed, I think @xt0rted's approach is the way to go. Please move forward and I'll work to get this bumped in priority for merge. |
Hi guys! I am facing an assembly issue that seems to be caused by the System.Net.Http Reference. Assembly Redirects in all projects neither to 4.0.0.0 nor to 4.1.1.0 (from nuget command) nor 4.2.0.0 did work completely. They just generated much more warnings due to redirect conflicts. Project Setup: ProjectA
Project B
Here are some screenshots from the Warning: and also from the build output (details): |
Thanks @essmd, I've added your vote to the PR internally to help move it up our priority queue. |
Hello @felipeleusin, |
We don't need to reference the System.Net.Http package on .Net 4.5+ since it's provided by the framework.
I also update the targetFramework monikers to match the new ones at https://docs.microsoft.com/en-us/nuget/schema/target-frameworks