Page 1 of 1

Reference files being put in /bin/debug so not copied to SVN

Posted: Wed Mar 14, 2018 12:05 pm
by JimLin
Hi,

We are using SVN as our source code repository. When I first put the code into the repository, I followed this forum post, which details which folders can be excluded: https://www.ranorex.com/forum/svn-t10895.html. I didn't exclude all of the suggestions, but it suggests that the /bin and/obj folders can be excluded, because they are user generated files, which is what I did. As other people are now involved in the project, they are downloading the source code and we have discovered that any added references .dll's and .exe's are missing because Ranorex has put them in the /bin/debug folder, which is excluded. Is the /bin/debug folder the correct folder for Ranorex to put these files and how would you change it to another folder?

Cheers James

Re: Reference files being put in /bin/debug so not copied to SVN

Posted: Fri Mar 16, 2018 10:46 am
by McTurtle
Hello Jim,

This is normal. I think that every IDE expects that the exe files and dlls are located on every machine in the same location (or commonly in the GAC) and therefore the executable will always find them.

If this is not the case, then you need to incorporate the exe files and the dlls into your project before referencing them. In Ranorex you can simply add them as "Existing items":
AddExistingItem.png
After this, you should reference them not via the GAC but via the .NET Assembly Browser. You should then be able to set the namespace.

Does this help?

Regards,
McTurtle

Re: Reference files being put in /bin/debug so not copied to SVN

Posted: Mon Mar 19, 2018 9:08 am
by JimLin
Hi,

Thanks for your reply. I will investigate your suggestions later.

Cheers,
James