Skip to content

PowerShellGroup/PSDesiredStateConfiguration broken on PS 7.4 #128

@SteveL-MSFT

Description

@SteveL-MSFT

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

dsc resource list

Expected behavior

Successfully show all resources including PS resources

Actual behavior

Error: Operation: Failed to list resources for provider DSC/PowerShellGroup: 1 MethodInvocationException: Exception calling "LoadDefaultCimKeywords" with "2" argument(s): "Method not
found: 'System.String ParserStrings.get_PsDscMissingSchemaStore()'."
Exception: Exception calling "GetKeywordsFromCachedClasses" with "0" argument(s): "Field
not found: 'Separators.Backslash'."

NativeCommandExitException: Program "dsc" ended with non-zero exit code: 2.


### Error details

_No response_

### Environment data

```PowerShell
Directory: /Users/steve/.local/share/powershell/Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     3.0.0      beta1      PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource…}
Script     2.0.7                 PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource}
Script     2.0.5                 PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource}

Version

3.0.0-alpha.1

Visuals

No response

Metadata

Metadata

Assignees

Labels

Issue-BugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions