
Here, I've created a new project, set .Net version to 4.6 and added the System.Net.Http package through NuGet only. You can see the version still shows as 4.0.0.0
any ideas as to how I can force Ranorex to use the updated system.net.http library?
Also, now the .Net version in Ranorex when I open the project shows as blank, not .NET 4.6.2The primary reference "LTUtils" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Net.Http, Version=4.1.1.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "4.1.1.2" than the version "4.0.0.0" in the current target framework. (MSB3258)
Cheers,This behavior is not unique to Ranorex Studio as the same thing occurs in a standard Visual Studio project. NuGet does this by design for projects that target .NET Framework 4.5 or newer since this library is already directly included in the framework. If you need a specific version, check out the links below as they provide multiple methods of working around this “Nuget Hell” issue:
• https://michaelscodingspot.com/2018/04/ ... onflicts/
• https://stackoverflow.com/questions/504 ... ad-of-gac