aspnetcore/.vscode/tasks.json

92 lines
2.1 KiB
JSON

{
"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.LOCALAPPDATA}/Microsoft/dotnet/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",
"isBuildCommand": true,
"args": [
"build",
"${workspaceRoot}/KestrelHttpServer.sln"
],
"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}/.nuget/packages/netframeworkreferenceassemblies/4.6.1/content"
}
}
},
"linux": {
"options": {
"env": {
"ReferenceAssemblyRoot": "${env.HOME}/.nuget/packages/netframeworkreferenceassemblies/4.6.1/content"
}
}
}
},
{
"taskName": "Test",
"args": [
"test"
],
"problemMatcher": "$msCompile",
"isTestCommand": true
},
{
"taskName": "Compile: CodeGenerator",
"args": [
"build"
],
"options": {
"cwd": "${workspaceRoot}/tools/CodeGenerator/"
},
"problemMatcher": "$msCompile"
},
{
"taskName": "Run: CodeGenerator",
"args": [
"run"
],
"options": {
"cwd": "${workspaceRoot}/tools/CodeGenerator/"
}
},
{
"taskName": "Run: Benchmarks",
"args": [
"run",
"-c",
"Release"
],
"options": {
"cwd": "${workspaceRoot}/test/Microsoft.AspNetCore.Server.Kestrel.Performance/"
}
}
]
}