How to Add "System.ServiceModel" Assembly Reference to Customization

I am attempting to add a SOAP client implementation which uses the several classes from the System.ServiceModel package, however the code compilation fails with several instances of the error Error: CS0234 - line XXXX (XXXX) - The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?). In the past I have added custom assemblies using the “Reference Adapter/BL Assemblies” wizard, but that only seems to allow you to reference Epicor assemblies. I also do not seem to be able to add the reference via the “Custom Assembly Reference Manager”. Any tips?

Aside: How does one go about compiling a plugin for Epicor that can be referenced from a customization?

When the wizard brings up the assembly references, there is a filter in the bottom right corner of the screen. If you are not bringing in Erp adapters, you need to adjust this the drop down to select All files (.). Hope that helps

Are you referring to the filename filter in the “Add Assembly Reference” dialog? If so, I have tried adding the reference that way already but was unsuccessful in doing so. I select the DLL (C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll specifically), and then press the “Open” button, but after that the dialog just closes and no assembly reference is added. Additionally, is there a way to reference the DLL in a non-absolute manner so that the reference path isn’t hardcoded in the customization export?

The dll also needs to be copied to the client library