Skip to content

Commit

Permalink
Modify dotnet build templates (#76318)
Browse files Browse the repository at this point in the history
* Generate full paths for and do not show summary

* use full names

* add the comments about no summary
  • Loading branch information
akshita31 authored and alexr00 committed Jul 29, 2019
1 parent aba0aba commit 0a21b40
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/vs/workbench/contrib/tasks/common/taskTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ const dotnetBuild: TaskEntry = {
'\t\t\t"label": "build",',
'\t\t\t"command": "dotnet build",',
'\t\t\t"type": "shell",',
'\t\t\t"args": [',
'\t\t\t\t// Ask dotnet build to generate full paths for file names.',
'\t\t\t\t"/property:GenerateFullPaths=true",',
'\t\t\t\t// Do not generate summary otherwise it leads to duplicate errors in Problems panel',
'\t\t\t\t"/consoleloggerparameters:NoSummary"',
'\t\t\t],',
'\t\t\t"group": "build",',
'\t\t\t"presentation": {',
'\t\t\t\t"reveal": "silent"',
Expand Down Expand Up @@ -58,7 +64,9 @@ const msbuild: TaskEntry = {
'\t\t\t"args": [',
'\t\t\t\t// Ask msbuild to generate full paths for file names.',
'\t\t\t\t"/property:GenerateFullPaths=true",',
'\t\t\t\t"/t:build"',
'\t\t\t\t"/t:build",',
'\t\t\t\t// Do not generate summary otherwise it leads to duplicate errors in Problems panel',
'\t\t\t\t"/consoleloggerparameters:NoSummary"',
'\t\t\t],',
'\t\t\t"group": "build",',
'\t\t\t"presentation": {',
Expand Down

0 comments on commit 0a21b40

Please sign in to comment.