Hi, this is probably not a Ranorex specific question but maybe someone can answer nonetheless. My Ranorex project references a Ranorex user code library which is built in a separate project. That project creates a user code DLL that is either in the bin\Debug or bin\Release folder, depending on which configuration I choose when building the DLL.
In the test project, I added a reference to the DLL, but I did not find a way to reference the Debug DLL for debug builds, and the Release DLL for release builds. Ranorex Studio doesn't let me edit the file path. How should I proceed? Should I always use the Debug DLL, even for Release builds? Or am I doing it wrong altogether?
Referecing debug or release DLL
Re: Referecing debug or release DLL
Reference the project, not the DLL.
Re: Referecing debug or release DLL
Hi Stub,
Am I to expect any problems, running a Release EXE with a debug DLL or vice versa?
Thank you
Hans
I had thought about that. However, the DLL is built in a controlled environment, and the DLL project need not even exist on the computer where the test is developed.Reference the project, not the DLL.
Am I to expect any problems, running a Release EXE with a debug DLL or vice versa?
Thank you
Hans
Re: Referecing debug or release DLL
Then hack the .CSPROJ file and use Conditions to reference the appropriate DLL.