Added commonly used operations in tasks.json

Following are the added tasks
1. Build library
2. Run samples
This commit is contained in:
Shreyas Jejurkar 2021-11-20 13:48:33 +00:00 коммит произвёл GitHub
Родитель 9e860ef52f
Коммит d29015adca
2 изменённых файлов: 37 добавлений и 1 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -7,7 +7,6 @@ obj/
.packages/
.tools/
.vs/
.vscode/
node_modules/
BenchmarkDotNet.Artifacts/
.gradle/

37
.vscode/tasks.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,37 @@
{
"version": "2.0.0",
"inputs": [
{
"type": "pickString",
"default": "./examples/FluentUI.Demo.Client",
"options": [
"FluentUI.Demo.Server",
"FluentUI.Demo.Client"
],
"id": "projectSelection",
"description": "Select project",
}
],
"tasks": [
{
"label": "Build library",
"type": "shell",
"command": "dotnet build",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Run samples",
"type": "shell",
"command": "dotnet run --project ${workspaceFolder}/examples/${input:projectSelection}/${input:projectSelection}.csproj",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
]
}