{ "version": "2.0.0", "options": { "env": { "DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "true" } }, // requires that you first run build.cmd or build.sh to install local builds of dotnet "windows": { "command": "${env:USERPROFILE}/.dotnet/x64/dotnet.exe" }, "osx": { "command": "${env:HOME}/.dotnet/dotnet" }, "linux": { "command": "${env:HOME}/.dotnet/dotnet" }, "suppressTaskName": true, "tasks": [ { "taskName": "Restore: solution", "args": [ "restore" ] }, { "taskName": "Compile: solution", "group": { "isDefault": true, "kind": "build" }, "presentation": { "panel": "dedicated" }, "args": [ "build", "${workspaceRoot}/KestrelHttpServer.sln", "/p:GenerateFullPaths=true" ], "problemMatcher": "$msCompile", // these have to defined here because of https://github.com/Microsoft/vscode/issues/20740 "osx": { "options": { "env": { // The location of .NET Framework reference assembiles. // These may not be installed yet if you have not run build.sh. "ReferenceAssemblyRoot": "${env:HOME}/.dotnet/buildtools/netfx/4.6.1/" } } }, "linux": { "options": { "env": { "ReferenceAssemblyRoot": "${env:HOME}/.dotnet/buildtools/netfx/4.6.1/" } } } }, { "taskName": "Test", "args": [ "test", "/p:GenerateFullPaths=true" ], "problemMatcher": "$msCompile", "group": "test" }, { "taskName": "Compile: CodeGenerator", "args": [ "build", "/p:GenerateFullPaths=true" ], "options": { "cwd": "${workspaceRoot}/tools/CodeGenerator/" }, "problemMatcher": "$msCompile" }, { "taskName": "Run: CodeGenerator", "args": [ "run" ], "options": { "cwd": "${workspaceRoot}/tools/CodeGenerator/" } }, { "taskName": "Run: resx generation", "suppressTaskName": true, "command": "build.cmd", "args": [ "/t:resx" ], "options": { "cwd": "${workspaceRoot}" }, "osx": { "command": "./build.sh" }, "linux": { "command": "./build.sh" } }, { "taskName": "Run: Benchmarks", "args": [ "run", "-c", "Release" ], "options": { "cwd": "${workspaceRoot}/test/Kestrel.Performance/" } } ] }