Link Files in Visual Studio

Link Files in Visual Studio

Hi,

I have a Visual Studio solution containing two projects / assemblies: One for "Product" code, and one for "Unit Tests". The "Unit Test" project contains links to some of the source files in the "Product" project.

When running NCover/NUnit, the link files in the "Unit Test" project are reported as belonging to the "Unit Test" assembly, even though they actually refer to the "Product" assembly.

As a result, the reported coverage for my "Product" assembly is much lower than expected. How can I get the expected coverage reported for my "Product" assembly?

Regards,

Mads