Error while uploading a test dll

First, I generated the c# code. I opened the solution in visual studio and built it successfully.
When I try to upload the project dll file, I get the following error of one of the used libraries is not referenced by the project.

uploaded file Could not find reference TestProject.Addons.Proxy.DynamicsCRMFunctions referenced by TestProject.Generated.Tests.POCProject referenced by uploaded file