Ok, so for my build configurations, I have Release32 and Release64. Each one being targeted for the specified bitness.
This is also the same for my DLLs, which are in the same solution. Now my question is: How do you update the DLL reference?
In the add reference window, you can select the DLL. I just chose the one in the Release32 directory. But I want it to reference the other DLL in the other folder when the project is built in Release64. So when it is built as a 32bit exe, it will use the 32bit dll. If it is built as a 64bit exe, it will use the 64 bit dll.
How would I accomplish the required changes?