Skip to content

Configuration file version https://aka.ms/dsc/schemas/v3/config/document.json is not known #193

Description

Brief description of your issue

When I try to open the following dsc configuration I get the error Configuration file version https://aka.ms/dsc/schemas/v3/config/document.json is not known and the configuration is not loaded.

$schema: https://aka.ms/dsc/schemas/v3/config/document.json
metadata:
  description: Meine erste Entwicklungsumgebung
  configurationVersion: 0.3.0
resources:
  - name: Install Git
    type: Microsoft.WinGet.DSC/WinGetPackage
    properties:
      id: Git.Git
      source: winget
  - name: Install VS Code
    type: Microsoft.WinGet.DSC/WinGetPackage
    properties:
      id: Microsoft.VisualStudioCode
      source: winget
  - name: Install 7-Zip
    type: Microsoft.WinGet.DSC/WinGetPackage
    properties:
      id: 7zip.7zip
      source: winget
[2025-11-30 10:50:11.592 ERR] [WinGetStudio v0.100.320.0] [FLOLAPTOP] [13] (WinGetStudio.Services.DesiredStateConfiguration.Services.DSCOperations) [CONF] No properties
[2025-11-30 10:50:11.593 ERR] [WinGetStudio v0.100.320.0] [FLOLAPTOP] [13] (WinGetStudio.Services.DesiredStateConfiguration.Services.DSCOperations) [CONF] ConfigurationSetParser error: 8a15c00e for $schema with value `` at [line 0, col 0]
[2025-11-30 10:50:11.594 ERR] [WinGetStudio v0.100.320.0] [FLOLAPTOP] [13] (WinGetStudio.Services.DesiredStateConfiguration.Services.DSCOperations) [CONF] Unknown configuration schema: https://aka.ms/dsc/schemas/v3/config/document.json
[2025-11-30 10:50:11.594 ERR] [WinGetStudio v0.100.320.0] [FLOLAPTOP] [13] (WinGetStudio.Services.DesiredStateConfiguration.Services.DSCOperations) [CONF] ConfigurationSetParser error: 8a15c004 for $schema with value `https://aka.ms/dsc/schemas/v3/config/document.json` at [line 0, col 0]
[2025-11-30 10:50:11.598 ERR] [WinGetStudio v0.100.320.0] [FLOLAPTOP] [2] (WinGetStudio.ViewModels.ConfigurationFlow.PreviewFileViewModel) Opening configuration set failed
WinGetStudio.Services.DesiredStateConfiguration.Exceptions.OpenConfigurationSetException: Exception of type 'WinGetStudio.Services.DesiredStateConfiguration.Exceptions.OpenConfigurationSetException' was thrown.
   at WinGetStudio.Services.DesiredStateConfiguration.Services.DSCOperations.OpenConfigurationSetInternalAsync(IDSCFile file, ConfigurationProcessor processor, CancellationToken ct)
   at WinGetStudio.Services.DesiredStateConfiguration.Services.DSCOperations.OpenConfigurationSetAsync(IDSCFile file, CancellationToken ct)
   at WinGetStudio.ViewModels.ConfigurationFlow.PreviewFileViewModel.OpenConfigurationFileAsync(StorageFile file)

Steps to reproduce

Try to load the above configuration via open configuration.

Expected behavior

Configuration is loaded.
dsc config validate -f .\dev-setup.dsc.yaml prints no errors or warnings for the configuration and says it is valid.

Actual behavior

Configuration file version https://aka.ms/dsc/schemas/v3/config/document.json is not known error

Environment

WinGet Studio (Experimental) - 0.100.320.0
OS Version: 10.0.26200.7171
OS Architecture: x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions