-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Command-ConfigureIssue related to WinGet ConfigurationIssue related to WinGet ConfigurationIssue-DocsIt's a documentation issue that really should be on MicrosoftDocsIt's a documentation issue that really should be on MicrosoftDocs
Description
Hi,
I was simply trying to export my vscode setup together with the list of extensions I have installed.
This is basically what I am doing.
install-module vscode
winget configure export --Package-Id Microsoft.VisualStudioCode -o .\VsCodeExport.winget --module vscode --resource vscodeextension
And this is what the file VsCodeExport.winget looks like
# Created using winget configure export 1.12.350
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.3
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/config/document.json
metadata:
winget:
processor:
identifier: "dscv3"
resources:
- name: winget_Microsoft.VisualStudioCode
type: Microsoft.WinGet/Package
metadata:
description: "Install Microsoft.VisualStudioCode"
properties:
id: "Microsoft.VisualStudioCode"
source: "winget"
I am missing the vscode extension part. I am unsure if I am doing something wrong, is that actually supported, or if there is a bug.
Unfortunatly, I couldn't find that many ressources on winget export :(
Metadata
Metadata
Assignees
Labels
Command-ConfigureIssue related to WinGet ConfigurationIssue related to WinGet ConfigurationIssue-DocsIt's a documentation issue that really should be on MicrosoftDocsIt's a documentation issue that really should be on MicrosoftDocs