10000 VSCode: dotnet-script installed in the global path creates a launch.json with absolute path to the .dll · Issue #755 · dotnet-script/dotnet-script · GitHub
[go: up one dir, main page]

Skip to content
VSCode: dotnet-script installed in the global path creates a launch.json with absolute path to the .dll #755
Closed
@jojorne

Description

@jojorne
dotnet tool install --global dotnet-script
dotnet script init

I don't know why the script init doesn't detect the installation in my case, because changing launch.json to this works:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": ".NET Script Debug",
            "type": "coreclr",
            "request": "launch",
            "program": "${env:HOME}/.dotnet/tools/dotnet-script",
            "args": [
                "${file}"
            ],
            "cwd": "${workspaceRoot}",
            "stopAtEntry": false
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0