G
Guest
Hi there. Im developing a c# app and i have a solution with some projects:
the main project which generates the executable file and some other projects
which some of them im compiling generate dll's which my main project needs to
run.
When i compile a dll project it generates the dll it implements. Then i take
that dll and put it in the directoory where my main app executable is. Then i
go to my main project and add a reference in it to that dll which i have put
in its directory.
The problem? Mainly that this is not too adecuate because for example when i
go to other computer and try to execute the program instead of the dll being
in the same directory as the app executable the project was configurated to
search the dll in a complete route which now in the other computer culdnt be
the same as in my computer for example.
Anyone knows a tutorial to teach you how to manage the dll references or
your project references to avoid this kind of problem? Anyway if i want to
make an installer for my application its referemnces couldnt be relative to
my machine specific routes , they have to be more general and be dependent
the inistallation directories i choose. Anyone knows how to do this??
I dont know if i have explained myself correctly, sorry if i haven't.
Thanks
the main project which generates the executable file and some other projects
which some of them im compiling generate dll's which my main project needs to
run.
When i compile a dll project it generates the dll it implements. Then i take
that dll and put it in the directoory where my main app executable is. Then i
go to my main project and add a reference in it to that dll which i have put
in its directory.
The problem? Mainly that this is not too adecuate because for example when i
go to other computer and try to execute the program instead of the dll being
in the same directory as the app executable the project was configurated to
search the dll in a complete route which now in the other computer culdnt be
the same as in my computer for example.
Anyone knows a tutorial to teach you how to manage the dll references or
your project references to avoid this kind of problem? Anyway if i want to
make an installer for my application its referemnces couldnt be relative to
my machine specific routes , they have to be more general and be dependent
the inistallation directories i choose. Anyone knows how to do this??
I dont know if i have explained myself correctly, sorry if i haven't.
Thanks