1+ {
2+ // See https://go.microsoft.com/fwlink/?LinkId=733558
3+ // for the documentation about the tasks.json format
4+ "version" : " 2.0.0" ,
5+ "tasks" : [
6+ {
7+ "label" : " build NppExec: Debug x64 (VS2017)" ,
8+ "type" : " shell" ,
9+ "command" : " ${workspaceFolder}\\ .vscode\\ build_vc2017.bat" ,
10+ "args" : [
11+ " ${workspaceFolder}\\ NppExec\\ NppExec_VC2017.vcxproj" ,
12+ // Ask msbuild to generate full paths for file names.
13+ " /property:GenerateFullPaths=true" ,
14+ " /t:build" ,
15+ // Do not generate summary otherwise it leads to duplicate errors in Problems panel
16+ " /consoleloggerparameters:NoSummary" ,
17+ " /p:Configuration=Debug" ,
18+ " /p:Platform=x64"
19+ ],
20+ "group" : " build" ,
21+ "presentation" : {
22+ // Reveal the output only if unrecognized errors occur.
23+ "reveal" : " always"
24+ },
25+ // Use the standard MS compiler pattern to detect errors, warnings and infos
26+ "problemMatcher" : " $msCompile"
27+ },
28+ {
29+ "label" : " build NppExec: Debug x64 (VS2022)" ,
30+ "type" : " shell" ,
31+ "command" : " ${workspaceFolder}\\ .vscode\\ build_vc2022.bat" ,
32+ "args" : [
33+ " ${workspaceFolder}\\ NppExec\\ NppExec_VC2022.vcxproj" ,
34+ // Ask msbuild to generate full paths for file names.
35+ " /property:GenerateFullPaths=true" ,
36+ " /t:build" ,
37+ // Do not generate summary otherwise it leads to duplicate errors in Problems panel
38+ " /consoleloggerparameters:NoSummary" ,
39+ " /p:Configuration=Debug" ,
40+ " /p:Platform=x64"
41+ ],
42+ "group" : " build" ,
43+ "presentation" : {
44+ // Reveal the output only if unrecognized errors occur.
45+ "reveal" : " always"
46+ },
47+ // Use the standard MS compiler pattern to detect errors, warnings and infos
48+ "problemMatcher" : " $msCompile"
49+ },
50+ {
51+ "label" : " copy NppExec.dll to Notepad++ plugins" ,
52+ "type" : " shell" ,
53+ "command" : " cmd" ,
54+ "args" : [
55+ " /c" ,
56+ " copy" ,
57+ " /Y" ,
58+ " ${workspaceFolder}\\ NppExec\\ x64\\ Debug\\ NppExec.dll" ,
59+ " C:\\ Progs\\ Progs\\ Notepadpp\\ plugins\\ NppExec\\ NppExec.dll"
60+ ],
61+ // "dependsOn": "build QSearch (VS2022)",
62+ "group" : " build" ,
63+ "problemMatcher" : []
64+ }
65+ ]
66+ }
0 commit comments