I just wanted to get in touch with the customizers, so I decided to make a new library and imported the demux component. After renaming the component and its files and also took care of the catalog placement, I build the project. Those steps seem to be the standard method when importing components, according to some (outdated) documents.
And voila... many error messages regarding not existing namespaces in actual context, etc. After digging a bit deeper into it, I figured out that the customizer assembly references have to be configured (this isn't mentioned anywhere!!!). So, I copied the references from the CyPrimitivesLibrary workspace, and most of the error messages went away. However, I don't want to search how to get rid of those errors. Instead, I want a clean documentation of customizers and how to create them. Cypress, you can't make statements like 'create your own customizers' and then a simple component import fails.
If there's a document describing that the assembly references also have to be configured, then it's my fault because I didn't found it. What about to make a tutorial on how to implement customizers in a clean and working way? Yes, there's a customizer API reference, but this doesn't really help without basic knowledge of how it has to be used.
Solved! Go to Solution.
it seems that the used demux component doesn't have any component names of the original component, so this seems not to be the issue.
There's also an error message after changing the assembly references when clicking the OK or APPLY button:
System.ApplicationException: Could not load exported type data for assembly 'CyFramework, Version=22.214.171.1242, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Die Methode "DrawGlyph" im Typ "CyDesigner.Framework.CyLineIndicator" der Assembly "CyFramework, Version=126.96.36.1992, Culture=neutral, PublicKeyToken=null"
Don't know if something's broken or if I'm doing something wrong. Anyway, importing and modifying components isn't as easy as Cypress states in some documents.
Then I don't know why they state that we can make our own customizers if the system is too complicated to support. I hope they'll find an easier system for the future, I like the concept.
We don’t recommend customers to import primitive components . It’s also not recommended to import and modify complex components such as Capsense, BLE and USB
We have an enhanced default customizer in PSoC Creator 4.1 which allow more presentable customizers to be implemented without the extra overhead of C#.
We do not support making C# customizers .