Skip to content

Set-WinGetSourceTargeting -Name winget-font -nonexplicit #5942

@joceyall30-cell

Description

@joceyall30-cell

Relevant area(s)

WinGet CLI, PowerShell Module

Relevant command(s)

winget validate

Brief description of your issue

Gijsreyn:update-roadmap

Steps to reproduce

Set-WinGetSourceTargeting -Name winget-font -nonexplicit

Expected behavior

https://aka.ms/configuration-dsc-schema/0.2

Actual behavior

doc/windows-package-manager-release-roadmap.md

Environment

# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
# Reference: https://github.com/microsoft/winget-cli#building-the-client
properties:
  resources:
    - resource: Microsoft.Windows.Settings/WindowsSettings
      directives:
        description: Enable Developer Mode
        # Requires elevation for the set operation
        securityContext: elevated
        allowPrerelease: true
      settings:
        DeveloperMode: true
    - resource: Microsoft.WinGet.DSC/WinGetPackage
      id: vsPackage
      directives:
        description: Install Visual Studio 2022 Community
        # Requires elevation for the set operation
        securityContext: elevated
      settings:
        id: Microsoft.VisualStudio.2022.Community
        source: winget
    - resource: Microsoft.VisualStudio.DSC/VSComponents
      dependsOn:
        - vsPackage
      directives:
        description: Install required VS workloads from project .vsconfig file
        # Requires elevation for the get and set operations
        securityContext: elevated
        allowPrerelease: true
      settings:
        productId: Microsoft.VisualStudio.Product.Community
        channelId: VisualStudio.17.Release
        vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig'
  configurationVersion: 0.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-ValidateIssue related to WinGet ValidateIssue-BugIt either shouldn't be doing this or needs an investigation.PowerShellIssue related to WinGet PowerShell Module or cmdlet

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions