I have created a console C# application to call REST API to send data to the external application using RESTSHARP. NuGet.Framework package is added to the solution but unable to add RESTSHARP as reference. Can anyone give any input on this to resolve the issue?
You installed the wrong nuget. You don't need the NuGet.Frameworks package, that's unrelated to your needs.
You need to add the RestSharp nuget to your ExternalWebServiceConsumpTest project
To do so, please do the following:
Now, your code should be able to find the RestSharp
namespace
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.