Answers for "visual studio the prelaunchtask 'build' terminated with exit code 1"

C#
1

vscode the prelaunchtask 'build' terminated with exit code 1

/* You may encounter this error after renaming your project. The problem is
   that in one of the .json files, the arguments are referencing your previous
   project .csproj file. */

/* This is the launch.json file. On line 16, the IntroLibraray is the old
   folder. After you change to the correct folder name, it will call the 
   correct path. */
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": ".NET Core Launch (console)",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "build",
/*Line 16*/ "program": "${workspaceFolder}/bin/Debug/net5.0/IntroLibrary.dll",
            "args": [],
            "cwd": "${workspaceFolder}",
            "console": "internalConsole",
            "stopAtEntry": false
        },
        {
            "name": ".NET Core Attach",
            "type": "coreclr",
            "request": "attach"
        }
    ]
}
Posted by: Guest on August-14-2021

Code answers related to "visual studio the prelaunchtask 'build' terminated with exit code 1"

C# Answers by Framework

Browse Popular Code Answers by Language