Azure / Azure/azure-sdk-tools

launch.json for projects in /tools opened in vscode does not load dll paths correctly

Open
#2,962 0 comments 0 reactions 1 assignee Assigned to @benbp View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

The default `program` path in the launch.json file fills out to be something like:

```
"program": "${workspaceFolder}/Azure.Sdk.Tools.PipelineGenerator/bin/Debug/netcoreapp2.1/Azure.Sdk.Tools.PipelineGenerator.dll",
```

However, the actual output path when running `dotnet build` is like:

```
/home/ben/sdk/azure-sdk-tools/artifacts/bin/Azure.Sdk.Tools.PipelineGenerator/Debug/netcoreapp3.1/Azure.Sdk.Tools.PipelineGenerator.dll
```

So something about the global/parent config that makes dotnet save artifacts to the repo root as opposed to the solution root is not also being picked up by vscode?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.