Skip to content

Commit 471b222

Browse files
Update launch.json 'program' description
With the .NET CLI shared framework changes, 'program' should now be set to the built application dll in most cases. This updates the template and description.
1 parent 5da74fe commit 471b222

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@
172172
"properties": {
173173
"program": {
174174
"type": "string",
175-
"description": "Path to the program (executable file) to launch. On Windows, a '.exe' suffix is appended if not specified already.",
176-
"default": "${workspaceRoot}/bin/Debug/<path-to-program>"
175+
"description": "Path to the application dll or .NET Core host executable to launch. Example: '${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>' where:\n<target-framework>: (example: 'netstandard1.5') This is the name of the framework that the app is being built for. It is set in the project.json file.\n<project-name>: (example: 'MyApp') The name of the project being debugged.",
176+
"default": "${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>"
177177
},
178178
"cwd": {
179179
"type": "string",
@@ -345,7 +345,7 @@
345345
"type": "coreclr",
346346
"request": "launch",
347347
"preLaunchTask": "build",
348-
"program": "${workspaceRoot}/bin/Debug/<path-to-program>",
348+
"program": "${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>",
349349
"args": [],
350350
"cwd": "${workspaceRoot}",
351351
"stopAtEntry": false
@@ -355,7 +355,7 @@
355355
"type": "coreclr",
356356
"request": "launch",
357357
"preLaunchTask": "build",
358-
"program": "${workspaceRoot}/bin/Debug/<path-to-program>",
358+
"program": "${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>",
359359
"args": [],
360360
"cwd": "${workspaceRoot}",
361361
"stopAtEntry": false,

0 commit comments

Comments
 (0)