I have a two EXEs:
ImportJob.EXE
Validator.EXE
Each EXE calls a library:
Validation.DLL
That all works great. The next thing I need to do is to add some logic from my data layer to my Import Job. The data layer is called Data.DLL. In order to include Data.DLL, I need to reference it in Validation.DLL.
The problem is that I don't want to distribute Data.DLL with Validator.DLL.
I can't compile unless I reference DATA.DLL so I can't just put a try/catch around my call because the reference will be missing:
From Validation.DLL:
try
{
results = DATA.RunMethod();
}
catch (Exception e)
{
// 100% okay with eating it
}
I would super appreciate any advice or ideas.