Entwicklungsumgebung als Datei
- Matt
Der Nachfolger meines Export-Import-Verfahrens, diesmal deklarativ:
properties:
resources:
- resource: Microsoft.Windows.Developer/DeveloperMode
directives:
allowPrerelease: true
settings:
Ensure: Present
- resource: Microsoft.WinGet.DSC/WinGetPackage
settings:
id: Microsoft.VisualStudio.2022.Professional
Ensure: Present
configurationVersion: 0.2.0
winget configure .\entwicklung.dsc.yaml
Der Unterschied zum Import einer Paketliste: Es lassen sich auch Windows-Funktionen und Einstellungen setzen, etwa der Entwicklermodus für Symlinks ohne Administratorrechte.
Die Datei gehört ins Projekt-Repository, nicht ins Benutzerprofil. Dann richtet sie auch neue Rechner für dieses Projekt ein.