-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
tasks.json
81 lines (81 loc) · 2.57 KB
/
tasks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"windows":{ "command": ".\\build.cmd"},
"linux":{"command": "./build.sh"},
"osx":{"command": "./build.sh"},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": ["$msCompile", "$func-java-watch"]
},
{
"label": "Build Platform Sample",
"type": "shell",
"command": "./bin/dotnet/dotnet build ${input:project} -c ${input:configuration}",
"group": {
"kind": "build",
"isDefault": true
},
// "dependsOn":[ "Build" ],
"problemMatcher": ["$msCompile"]
},
{
"label": "Run Sample",
"type": "shell",
"command": "./bin/dotnet/dotnet build ${input:project} -t:Run -f ${input:framework} -c ${input:configuration} -p:AndroidAttachDebugger=${input:attach}",
"group": {
"kind": "none",
"isDefault": false
},
//"dependsOn":[ "Build" ],
"problemMatcher": ["$msCompile"]
}
],
"inputs": [
{
// Add additional projects here. They will be available in the drop down
// in vscode.
"id": "project",
"type": "pickString",
"default": "src/Controls/samples/Controls.Sample/Maui.Controls.Sample.csproj",
"description": "Pick the Project you want to build.",
"options": [
"src/Controls/samples/Controls.Sample/Maui.Controls.Sample.csproj",
]
},
{
// Add additional projects here. They will be available in the drop down
// in vscode.
"id": "framework",
"type": "pickString",
"default": "net7.0-android",
"description": "Pick the framework you want to target.",
"options": [
"net7.0-android",
"net7.0-ios",
]
},
{
"id": "attach",
"type": "pickString",
"default": "Build",
"description": "Attach Debugger?",
"options": [
"true",
"false",
]
},
{
"id": "configuration",
"type": "pickString",
"default": "Debug",
"description": "The Build Configuration",
"options": [ "Debug", "Release"]
},
]
}