The type or namespace name 'RestSharp' could not be found (are you missing a using directive or an assembly reference?)

4,030 views
Skip to first unread message

terence lau

unread,
Mar 11, 2021, 8:39:39 AM3/11/21
to RestSharp
HI,

I successfully installed RestSharp into my SSIS package project(Script task C#) and I can referenced RestSharp namespace without any problem. Build successfully without error and save and exist, however it failed with above error message and the RestSharp cant be found when I open my script task. I reinstall the RestSharp thru the Manage Nuget Packages but it went missing everytime I save and build the code.
net SDK version.JPGRestSharp_Error.JPGnetFramework.JPG
Configration:
.Net SDK is 2.1.522
.Net Framework  = 4.5.2
Visual Studio 2017

I would appreciated if anyone can help me on this problem.

Thanks,
Terence

Alexey Zimarev

unread,
Mar 12, 2021, 3:58:55 AM3/12/21
to RestSharp
Reply all
Reply to author
Forward
0 new messages