简体   繁体   中英

Which Rest sharp version should I use to support a legacy .Net framework application built on version 4.6.1

I have and application that is build using .net framework 4.6.1.0. I can't upgrade it. I have to create an assembly file for this application that gets loaded dynamically. This assembly must be able to make http request using basic, Oauth2.0 authorizations. I would like to use rest sharp, however the latest code is moved to.Net 6. Which version of rest sharp supports .net framework 4.6.1.0? Or should I look into other alternatives?

The latest RestSharp version hasn't been "moved to .NET 6". RestSharp 108 is built for .NET Standard 2.0, .NET 5 and .NET 6 targets.

NuGet 屏幕截图

WHen using .NET Framework 4.6.1, you can install RestSharp and it will be used as a .NET Standard 2.0 library.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM