DSC: (at runtime): Could not find the type of DSC resource class {resourceName}

Here’s another good one. The DSC configuration compiles without error, however, when running the resource and the resource has to change something (i.e. calling [void] Set(), I get the lovely error:

I don’t know why it is the case,…