Commit 14709ac4 authored by justcoding121's avatar justcoding121

add core build task

parent 43d526b0
......@@ -2,7 +2,18 @@
"version": "0.2.0",
"configurations": [
{
"name": "Win|Net45|Debug|Basic Example",
"name": "NetCore|Debug|Basic Example",
"type": "coreclr",
"request": "launch",
"program": "${workspaceRoot}/examples/Titanium.Web.Proxy.Examples.Basic/bin/Debug/netcoreapp2.0/Titanium.Web.Proxy.Examples.Basic.dll",
"args": [],
"cwd": "${workspaceRoot}",
"stopAtEntry": false,
"console": "internalConsole",
"preLaunchTask": "build-basic-example-netcore"
},
{
"name": "Windows|Net45|Debug|Basic Example",
"type": "clr",
"request": "launch",
"program": "${workspaceRoot}/examples/Titanium.Web.Proxy.Examples.Basic/bin/Debug/net45/Titanium.Web.Proxy.Examples.Basic.exe",
......@@ -10,10 +21,10 @@
"cwd": "${workspaceRoot}",
"stopAtEntry": false,
"console": "integratedTerminal",
"preLaunchTask": "build-basic-example"
"preLaunchTask": "build-basic-example-net45"
},
{
"name": "Win|Net45|Debug|Wpf Example",
"name": "Windows|Net45|Debug|Wpf Example",
"type": "clr",
"request": "launch",
"program": "${workspaceRoot}/examples/Titanium.Web.Proxy.Examples.Wpf/bin/x64/Debug/Titanium.Web.Proxy.Examples.Wpf.exe",
......
......@@ -2,7 +2,18 @@
"version": "2.0.0",
"tasks": [
{
"label": "build-basic-example",
"label": "build-basic-example-netcore",
"type": "process",
"command": "dotnet",
"args": ["build","${workspaceFolder}/examples/Titanium.Web.Proxy.Examples.Basic/Titanium.Web.Proxy.Examples.Basic.csproj"],
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "build-basic-example-net45",
"type": "process",
"windows": {
"command": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe",
......@@ -16,22 +27,14 @@
"command": "dotnet",
"args": ["${workspaceFolder}/src/Titanium.Web.Proxy.DotNet.sln"]
},
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
}
"problemMatcher": "$msCompile"
},
{
"label": "build-wpf-example",
"type": "process",
"command": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe",
"args": ["${workspaceFolder}/examples/Titanium.Web.Proxy.Examples.Wpf/Titanium.Web.Proxy.Examples.Wpf.csproj", "/p:Platform=x64"],
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
}
"problemMatcher": "$msCompile"
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment