I am currently working with 2 C# projects inside one VS 2017 solution. One project contains all the business logic and the other simply the UI. The UI, of course, references the Core project.
The Core solution uses RestSharp package on it's code, so I installed it using NuGet. When I run the solution and I reach the part of the code where RestSharp is used, the following exception is thrown: "System.IO.FileNotFoundException: Could not load file or assembly 'RestSharp'".
The problem gets solved if I also install 'RestSharp' package inside the UI project. But, I am trying to avoid that as the UI does not need to use that package.
Is there a way to avoid that? Regards