You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you are able to repro it on the latest version
Search the existing issues.
Steps to reproduce
For configuration example below, there should be a way to call dsc.exe to request schema for types PowerShellGet/MSFT_PSRepository and TestFileDscResource/FileResource (that are handled by DSC/PowerShellGroup resource provider) to be used in IntelliSense when authoring configurations with these types.
- name: Get info from classic DSC resources
type: DSC/PowerShellGroup
properties:
resources:
- name: Get PS Repository Info
type: PowerShellGet/MSFT_PSRepository
properties:
Name: PSGallery
- name: Check File
type: TestFileDscResource/FileResource
properties:
Path: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Ensure: Present
Expected behavior
`dsc.exe` should be able to return schema for resources that are processed by resource providers.
Actual behavior
Currently this is not implemented.
Error details
No response
Environment data
v1.
Version
v1
Visuals
No response
The text was updated successfully, but these errors were encountered:
It's probably more work, but if part of the goal for the project is to move DSC beyond "a PowerShell thing", I think a separate extension is going to be important in the long run. That would also allow the extension to ship with a vendored DSC executable specific to that version of the extension instead of relying on the locally installed version, that sort of thing.
anmenaga
changed the title
Need a way to extract schema for types handled by Resource Providers for IntelliSense scenario
Need a way to extract DSC resource schema for IntelliSense scenario
Nov 8, 2023
Prerequisites
Steps to reproduce
For configuration example below, there should be a way to call
dsc.exe
to request schema for typesPowerShellGet/MSFT_PSRepository
andTestFileDscResource/FileResource
(that are handled byDSC/PowerShellGroup
resource provider) to be used in IntelliSense when authoring configurations with these types.Expected behavior
`dsc.exe` should be able to return schema for resources that are processed by resource providers.
Actual behavior
Currently this is not implemented.
Error details
No response
Environment data
Version
v1
Visuals
No response
The text was updated successfully, but these errors were encountered: