I have a C# solution that contains:
- 1 Rhino plugin project
- 1 class library project
- 1 unit test project
I would like to perform unit tests on my class library implementation that contains references to RhinoCommon.dll such as Vector3d and Mesh. When I tried to run the unit tests, I encountered error: “System.IO.FileNotFoundException: Could not load file or assembly ‘RhinoCommon, Version=5.1.30000.16, Culture=neutral, PublicKeyToken=552281e97c755530’ or one of its dependencies. The system cannot find the file specified.”
I found some discussion about issues of running unit tests without running Rhino.exe due to dependencies of RhinoCommon.dll on Rhino.exe. But most of the discussions happened a few years ago.
I would like to check if such dependencies still valid and is there any solution to this issue?
PS: the version of RhinoCommon that I am currently using is 5.1