OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.37k stars 1.12k forks source link

Orchard.Workflow and Orchard.Framework are using old System.Net.Http #4072

Open orchardbot opened 10 years ago

orchardbot commented 10 years ago

@csurieux created: https://orchard.codeplex.com/workitem/20243

They use v 2.0 when all the other module when using this reference use v 4.0. This create lot of complication with VS 2013. They should use v 4.0

orchardbot commented 10 years ago

@sebastienros commented:

I can't find "other modules" using this library, and this is the one in the lib folder. Can you point me to other modules using the 4.0 version ?

orchardbot commented 10 years ago

@csurieux commented:

The first and fast answer will be my own modules using WebAPI and .net 4.5, next I think you know the modules inside Orchard and willnot vaste time searching...but why keeping this old version ? I am getting plenty warnings when compiling with vs2003 and I suspect this being the reason whey VS2013 generated .dll.config file for each case not 'dans la lgne du parti' ?

orchardbot commented 10 years ago

@csurieux commented:

arg VS2013...and 'ligne du parti'

orchardbot commented 10 years ago

@sebastienros commented:

You description seemed to imply Orchard was using two different version of the same dll, so I assume that by "willnot vaste time searching" you mean you were actually wrong on the assessment.

I will thus read this bug as "please upgrade System.Net.Http to 4.0". Which will be done when we upgrade to WebAPI 2 for ORchard 1.8.

orchardbot commented 10 years ago

@csurieux commented:

It easyto check:

Orchard: Orchard.Tests\Orchard.Framework.Tests v 4.0 Orchard->other v 2.0

Non Orchard: NGM.OpenAuthentication v2.1 Datwendo.* v 4.0

Please do :), I am sure 1.8 will be gold for ORchard

orchardbot commented 10 years ago

grapto commented:

Orchard 1.8 commit fd36b81f4b73

The lib folder still contains the version 2 of system.net.http Orchard.Workflows references the lib folder (v2.0) Orchard.Azure.Web references the framework (.net framework) (v4.0)

The lib folder should be updated to the latest version and orchard.azure.web should reference the same lib or Workflows should also reference the .net framework paths.