i wants to open cashdrawer using POS but whenever i try to run my code it gives me error
Invalid library configuration file:
The element 'ServiceObject' has invalid child element 'HardwareId'. List of possible elements expected: 'Device'.
i tried every possible solution like adding this code in config file
<runtime>
<NetFx40_LegacySecurityPolicy enabled="true"/>
</runtime>
reinstalling every framwork version but still no success ,please can anyone help me in this
i am using this code
public CashDrwr()
{
myExplorer = new PosExplorer();
//DeviceCollection dv = myExplorer.GetDevices();
DeviceInfo div = myExplorer.GetDevice("CashDrawer");
cash = (CashDrawer)myExplorer.CreateInstance(div);
cash.Open();
cash.Claim(1000);
...
Go to the complete details ...