I've got a data file contained in Project_A, that I also include in Project_B.UnitTests as a link. In the vcproj file, it looks like this:
Code:
<ItemGroup>
<None Include="..\..\Project_A\Data\SomeData.json">
<Link>TestData\SomeData.json</Link>
</None>
</ItemGroup>
When Visual Studio builds the projects, the end result that
Code:
Project_B.UnitTests\bin\Debug\TestData\SomeData.json
exists. When NCrunch builds the project, I have:
Code:
c:\...\NCrunch\2912\28\Project_A\Data\SomeData.json
c:\...\NCrunch\2912\28\Project_B.UnitTests\...