Skip to content

Intellisense DSC LCM configuration not working on Ubuntu when using DscLocalConfigurationManager attribute #2120

@bgelens

Description

@bgelens

I’ve noticed an inconsistency in the PS Extension intellisense results between different platforms.
I’m using the latest and greatest 0.7.1 of the PS extension on both Windows and Ubuntu and I’m trying to create a meta configuration for the LCM using v2 syntax (DscLocalConfigurationManager attribute).
I’ve installed the latest OMI and DSC packages as well as PS alpha 9 on Ubuntu.

Steps to reproduce

Use Ubuntu 16
Install VS Code 1.4 and PS Extension 0.7.1
Install PowerShell 6.0.0-Alpha.9
Install OMI 1.1.0
Install DSC Package 1.1.1-281
Write a meta config and use the DscLocalConfigurationManager attribute to decorate.

Expected behavior

When using the DscLocalConfigurationManager attribute to decorate a configuration to create a meta.mof, the Settings entry should be suggested by intellisense and the possible properties should be displayed.

Actual behavior

Works on Win10, Not on Ubuntu.
Intellisense does not suggest Settings entry and doesn't suggest possible properties and values.
result
(On CentOS DSC intellisense doesn't work at all because of missing libmi.so library).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-DSCDesired State Configuration issuesIssue-BugIssue has been identified as a bug in the productWG-Interactive-IntelliSensetab completion

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions