Dll Files

Ask general questions here.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Dll Files

Post by omayer » Fri Dec 23, 2011 1:42 am

Why does dll file got saved in 3 diff locations for code module, that could be the reason i kept getting dll version conflict error
dllFile.jpg
dllFile.jpg (36.66 KiB) Viewed 967 times
Tipu

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Dll Files

Post by Support Team » Fri Dec 23, 2011 10:14 am

Obviously, you did not use project references to reference your test module libraries, but directly specified the location of the assemblies. You can do that, but it is not recommended and you have to make sure to reference the DLL from the output directory of the projects, i.e do not refernce DLLs in "obj" folders (those are basically temporary folders created by MSBuild during compilation).

The recommended way is to use project references, then you do not need to care about the actual location of the generated DLLs. You just reference other projects within your solution. For more information see following link:
http://www.ranorex.com/blog/organizing- ... ExeProject

Regards,
Alex
Ranorex Team
.
Image