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
Build Action: Embedded Resource
is what I have. I think @notacat's answer is correct. You can't prevent it, but you can just edit the licenses.licx file to remove the offending entry (in my case, the class I created that extends the licensed third party component.) It will later be added any time I edit a form that uses that component, but it can be re-removed. Annoying, but simple enough. – Hessenassau