I am trying to create a default large/small custom icon for a package I have begun to develop. I’m coming in with very little C# knowledge so am relying on guides quite heavily. I’ve downloaded and installed Visual Studio 2019 (VS2019) and installed all the modules except for mobile device related ones. I’ve updated my Windows SDK to latest also.
I’m aware this question has come up many times, and the answer typically leads the askers here; https://github.com/DynamoDS/Dynamo/wiki/Creating-Icons-for-Custom-Nodes
My goal if I can get this process to work is to also create a video guide to show other developers how to achieve this process (I usually prefer visual/video guides, so want to make one for others).
It appears that I’m either getting the workflow wrong vs. the written instructions, or the way visual studio works has changed a bit since this was written in 2015.
If anyone has any experience with this workflow using VS2019, I’d appreciate some insight on the following issues I’m having;
I’m making a new class library for C# as the guide suggests, but which type should I be using (.NET Standard, .NET Core or .NET Framework)? I’ve been testing with .NET Standard typically.
No issues creating the resource file in the solution (PackageImages.Resx), however I cannot find any reference to ‘strong typing’ which it says needs to be disabled. Has this been integrated into VS2019 since this guide was made? I can’t find any information in web trawling on this specific term.
No issues adding the default custom node .png file to the resources file, however once it is loaded, the ‘persistence’ field is greyed out and cannot be changed to ‘embedded in res.x’. See attached what I see at this stage. As a result I don’t think my .csproj file is properly built and prepared for the addition of the package customization addition in notepad.
I’ve downloaded and tried working with the Clockwork VS project from github, but it relies on an older version of the SDK so I need to work with a newly made VS2019 class library I think.
Any help is appreciated, apologies in advance for my ‘green-ness’. I’ve been at this for about 2 hours now!