From #981
I have another problem with this:
in launch.json (v 0.2.0) i have added some debugging entries with a preLaunchTask.
when i now debug, i get: There is a task {0} running. Can not run pre launch task build.
if i empty the content of the preLaunchTask, it works but the code is not built before.
Could it be that upgrading the tasks,json to v2.0.0 while having a launch,json at version 0.2.0 creates some incompatibilities?
launch.json
"version": "0.2.0",
"configurations": [{
{
"name": ".NET Core Launch (myapp)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/Services/myapp/src/bin/Debug/netcoreapp1.1/myapp.dll",
"args": [],
"cwd": "${workspaceRoot}/Services/myapp/src/bin/Debug/netcoreapp1.1/",
"stopAtEntry": false,
"externalConsole": false,
"env": {
"ASPNETCORE_ENVIRONMENT": "Local",
"ASPNETCORE_URLS": "http://*:5000"
}
}]
tasks.json
"version": "2.0.0",
"command": "",
"isShellCommand": true,
"args": [],
"tasks": [{
"taskName": "build",
"command": "dotnet",
"args": [
"build"
],
"options": {
"cwd": "${workspaceRoot}"
},
"isBuildCommand": true,
"showOutput": "always",
"problemMatcher": "$msCompile"
},
//... some other tasks here not related to build and a dependency between those.
]}
From #981
I have another problem with this:
in launch.json (v 0.2.0) i have added some debugging entries with a preLaunchTask.
when i now debug, i get: There is a task {0} running. Can not run pre launch task build.
if i empty the content of the preLaunchTask, it works but the code is not built before.
Could it be that upgrading the tasks,json to v2.0.0 while having a launch,json at version 0.2.0 creates some incompatibilities?
launch.json
"version": "0.2.0",
"configurations": [{
{
"name": ".NET Core Launch (myapp)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/Services/myapp/src/bin/Debug/netcoreapp1.1/myapp.dll",
"args": [],
"cwd": "${workspaceRoot}/Services/myapp/src/bin/Debug/netcoreapp1.1/",
"stopAtEntry": false,
"externalConsole": false,
"env": {
"ASPNETCORE_ENVIRONMENT": "Local",
"ASPNETCORE_URLS": "http://*:5000"
}
}]
tasks.json
"version": "2.0.0",
"command": "",
"isShellCommand": true,
"args": [],
"tasks": [{
"taskName": "build",
"command": "dotnet",
"args": [
"build"
],
"options": {
"cwd": "${workspaceRoot}"
},
"isBuildCommand": true,
"showOutput": "always",
"problemMatcher": "$msCompile"
},
//... some other tasks here not related to build and a dependency between those.
]}