Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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

Ask Question

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.

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

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .