Error: CS0433 - The type exists in both

When I built an External BPM I was able to alias it.  You set a property called Aliases on the reference in this case I made it AliasJobEntry and added this line of code

extern alias AliasJobEntry;

Then you reference things like this

AliasJobEntry.Erp.Tablesets.JobEntryTableset dsJobGlobal;

AliasJobEntry.Erp.Contracts.JobEntrySvcContract boJobEntry = null;
AliasJobEntry.Erp.Tablesets.JobEntryTableset dsJobEntry = new AliasJobEntry.Erp.Tablesets.JobEntryTableset();

If this is in embedded not sure how you would handle setting the alias property on the reference.

Jim Kinneman
Encompass Solutions, Inc

So i'm wondering if anyone knows the solution to this.  I'm trying to create a SelectSerialNumbersParamDataSet using 


                 Erp.BO.SelectSerialNumbersParamsDataSet dsSelectSerialNumParams = new Erp.BO.SelectSerialNumbersParamsDataSet();


and I receive the error on compile


 Error: CS0433 - line 503 (1629) - The type 'Erp.BO.SelectSerialNumbersParamsDataSet' exists in both 'c:\Epicor\ERP10.0Client\Client\Erp.Contracts.BO.CustShip.dll' and 'c:\Epicor\ERP10.0Client\Client\Erp.Contracts.BO.SalesOrder.dll'


Does anyone know if there is a way to point the dataset to use a certain DLL?