Azure / azure-functions-vs-build-sdk

MSBuild task for Azure Functions
MIT License
98 stars 65 forks source link

Why there is dependency on System.Net.Http >= 4.3.4? in latest version of Functions SDK #630

Open pavinan opened 5 months ago

pavinan commented 5 months ago

Why there is dependency on System.Net.Http >= 4.3.4

image

kshyju commented 2 months ago

It's likely for the same reason we have dependencies on the other packages you see there; we are using some APIs from that package. Is this causing any issues for your function app?

pavinan commented 1 month ago

Yes, because Microsoft has deprecated or recommending away adding System.Net.Http from nuget source for .NET Framework. It should come GAC not from nugget. Main issue I face this is conflicting version from GAC, there are some methods different nugget version which is not updated since 2018. It is surprising to see dependency in nugget, I believe there must be some mistake.