You should have indicated that the error you get is compiling error, not runtime error. Here is what I imagined what happened with your code:
1. You added a drawing into the resources;
2. You copied the code prom my post and pasted it inti class "myPlugin" and tried to build it, and got error on "Properties" are not defined/declared.
3. You add a static public member "Properties" of object type to the class "myPlugin";
4. Still the code does not compile.
Of course it does not compile: you defined a "Properties" member, but never instantiate it, not to mention it does not have a property "Resources" magically by itself!
Properties is a namespace automatically added to your project's namespace by Visual Studio when you added settings/resources to the project, i.e. [your project namespace].Properties.
It turns out it is a simple typo/mistake that we as programmer often overlook even stared at it straightly: your "myPlugin" class has different namespace from the namespace of the project:
for the project (thus the Properties):
Autocad_2020_plugin_020_Read_Data_from_Resources
for "myPlugin" class:
Autocad_2020_plugin_021_Read_Data_from_Resources
So, you need to change the "_021_" to "_020_" and remove this line(!!!):
public static object Properties { get; private set; }
Sometimes, a simple/stupid mistake we made may cost us hours to find it out, when working too hard.