I see. To answer your question a post above "Is there a way to tell
auxiliary app
where the main app is?", I do not know what kind of mapping your application
is using but it *might* be possible to achieve this by changing the current
directory of the execution context at application startup, preferably as the
first call in your Program class:
Environment.CurrentDirectory = @"C:\my\path";
You still have to be able to determine what the path should be.
Best Regards,
Stanimir Stoyanov
www.stoyanoff.info
"Gregory Khra" <Gr*********@discussions.microsoft.comwrote in message
news:34**********************************@microsof t.com...
>You can add a shortcut to your .cs file in another project from
Project->Add
Existing Item... and make sure to select Add As Link.
Unfortunately this .cs file uses objects that are defined in the other .cs
files which are using other objects ... etc. As I said, it is difficult to
extract the object I need from its environment (I realize that it's bad
design, but it's too late to change).
So far I was able to create a reference in my Visual Studio project and
just
reuse the namespace from another application. The problem is that it only
works if at runtime both exe files are in the same folder.