Using VS 2019 and 4.3.0.13, solution with 166 projects, mostly C#.
I've been on a mission to make our codebase usable in x64 mode with NCrunch. I made a script to replace the default platform with x64 and that's gotten me 95% functional. The next item on my list is a VS2010 C++ project being tested by a C# test app. It was building x86, so I added some default platform settings. That got it to start building x64, but now its not copying over a 3rd party lib to go with its dll.
x86 linking has:
Code:
<AdditionalDependencies>oncrpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(OutDir);$(ProjectDir)..\..\..\..\ThirdParty\Oncrpc\BIN\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
x64 has:
Code:
<AdditionalDependencies>oncrpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(OutDir);$(ProjectDir)..\..\..\..\ThirdParty\Oncrpc\BIN\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
When I look in the NCrunch build directory, I see ThirdParty/Oncrpc/BIN/x86 and ThirdParty/Oncrpc/BIN/x64. Both have oncrpc.dll, but x64 does not have oncrpc.lib. The NCrunch build is failing due to this missing file.