Skip to content

Symlink breaks dsc.exe #618

Closed
Closed
@Gijsreyn

Description

@Gijsreyn

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Summary

I am experiencing an issue when DSC is installed, and a symlink is created. Any command doesn't work when the dsc.settings.json file is not found.

image

Steps to reproduce

  1. Install dsc.exe through winget in an elevated session: winget install --id Microsoft.DSC.Preview --source winget --installer-type zip --location "C:\Program Files\DSC"
  2. Run dsc resource list

No resources are discovered because of the following error message: Could not read 'tracing' setting

WinGet creates a symlink.

Expected behavior

dsc command should work

Actual behavior

dsc command doesn't work

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

dsc 3.0.0-preview.12

Visuals

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions