I am using a ComponentOne FlexGrid, it automatically registered in its license
C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.2, Version=2.6.20122.716, Culture=neutral, PublicKeyToken=79882d576c6336da
I also use a custom control that inherits the C1FlexGrid, but on run-time it tries to register
DataTree.C1FlexDataTree, fpstudio, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
in the license file, which ultimately creates an error:
Error 51 Unable to resolve type 'DataTree.C1FlexDataTree, fpstudio, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' C:_DEVELOPMENT_FP_DRAFT12\COMPONENT1_WORKING_MERGED\fpstudio\Properties\licenses.licx 3 Freepour Studio
How can I tell this class not to try to license the control as it already is inherited and is licensed itself. I have already removed [LicenseProvider()]
from the DataTree Class
This is a pain... I'd suggest you install the EmptyLicensesLicx nuget package, and it will make sure there's an empty Licenses.licx
in your project, before it gets compiled (which is all you need).