Skip to content

Analysis of DSC resource derived from a base class fails #766

Open
@jakeoshins

Description

@jakeoshins

I have two similar DSC resources. So I made a base class that implements the Get() and Test() functions, but the Set() function is supplied by the derived classes. When I run the script analyzer, it things that the Get() and Test() functions are missing from the derived classes. I see this error:

PSDSCStandardDSCFunctionsInResource Error XX.Certificate.psm1 359 Missing 'Test' function. DSC Class must implement Get, Set and Test functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions