I’m recently starting with Zero Touch Nodes and learning C#. I’m trying to add icons to package/nodes, so I have a base to start building a nice package of my own. So far I cant get it working.
Sorry if it sounds like a re-post, but I already tried almost everything I found on the web.
I followed to the letter both Dynamo Wiki Guides and samples (https://github.com/DynamoDS/Dynamo/wiki/Creating-Icons-for-Custom-Nodes and https://github.com/DynamoDS/Dynamo/wiki/Add-Icons-for-a-Zero-Touch-Assembly-or-NodeModel-assembly) and read every post regarding those two guides.
I also looked at other packages github repos to compare the files.
What I tried so far:
-Testing “BeforeBuild” and “AfterBuild”, tweking paths and names for the .resx and .resources files.
-Naming image DefaultCustomNode, and specifying an individual node with full name (Package.Namespace.Class.Node.Size)
-Publishing the package locally instead of importing dll, so Dynamo creates the pkg.json
What I get:
-Project compiles without warnings
-Intermediate file ****.resources is generated
-Package.Customization.dll is generated in the out folder along Package.dll
-Icons not showing in Dynamo
What I think it can be:
-Something about the pkg.json not reading correctly the customization.dll. I found little information about that kind of file specific to Dynamo
-Something about the Strong Typing. Even though I cleared the Custom Tool field, in VS, if i click the image in the .resx file, and click the type propierty, i get this:
“The resource will be generated with this type in the strong typed resource class. For example, this resource may be generated as a String or Bitmap object”(Translation may be a bit off)
This even matches what it says on the wiki, about failing without warning.
Thank you all in advanced, I wish you a happy 2020,