OK,I'm not a seasoned developer - I typically do my coding in the scripting realm. But in this case, I want to compile a bit of code in C#, that interfaces with Catia. It is a console app, when executed, prompts user for a selection. No UI from the Catia API, just onscreen text prompts.
That being said, the only dependencies in this code, are the dll references that live in the install code/bin directory. Every user gets the same installation, and the dlls that are required, are present. If not, the user has no reason to use my code. Additionally, building the exe with the dependencies, just unnecessarily duplicates the dlls from Catia.
So the question is, how do I go about pointing the exe to the dll folder? Or, would it be best just to deploy my exe from the same folder that contains the dlls? (assuming that I can)
I've read many many posts by people asking the same basic question, and I know that it's almost always recommended against. However, since this is application specific, I think my case might be a little different. This code has no utility, in the absence of the Catia application.