Sampler DSC resource DSC_Folder is generating error
- Dominant language
- PowerShell
- Stars
- 243
- Forks
- 46
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 1
Description
Running this
```
.\build.ps1 -Tasks noop -ResolveDependency
.\build.ps1 -Tasks build
Get-DscResource
```
Generates this
```
ImportCimAndScriptKeywordsFromModule : A second CIM class definition for 'DSC_Folder' was found while processing the schema file 'C:\Users\johlju\Documents\WindowsPowerShell\Modules\Sampler\0.97.0\DSCResources\DSC_Folder\DSC_Fo lder.Schema.mof'. This class was already defined in the file(s) 'C:\source\ActiveDirectoryDsc\output\RequiredModules\Sampler\0.97.0\DSCResources\DSC_Folder\DSC_Folder.Schema.mof'. Remove the redundant definition, and then try again. At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:4143 char:29 + ... $null = ImportCimAndScriptKeywordsFromModule -Module $mod -Resour ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], PSInvalidOperationException + FullyQualifiedErrorId : System.Management.Automation.PSInvalidOperationException,ImportCimAndScriptKeywordsFromM odule
```
Contributor guide
Assessment
This issue has not been assessed yet.