RestSharp - could not be found

10,585

Change the Framework from anything less than 4 up to 4 and recompile.

restsharp was developed and compiled in 4.0

Share:
10,585
DWolf
Author by

DWolf

Updated on June 15, 2022

Comments

  • DWolf
    DWolf about 2 years

    I have looked at other questions posted about this but nothing seems to answer my question/problem. Hopefully because my question/problem seems like a simple fix if anything.

    I installed RestSharp using nuget.

    using RestSharp;
    using RestSharp.Authenticators;
    

    are underlined with blue

    private IRestClient restClient;
    

    is also underlined.

    If i restart my IDE, there is no error. I hit build to compile my object.. and all the RestSharp references "disappear." I try to add the reference manually using the RestSharp.dll and it barks at me telling me that there is already a reference to RestSharp

    Any other suggestions?