瀏覽代碼

Adding initial VS Code support.

Bart De Smet 6 年之前
父節點
當前提交
f85d3b33b3
共有 2 個文件被更改,包括 70 次插入0 次删除
  1. 35 0
      Ix.NET/Source/.vscode/launch.json
  2. 35 0
      Ix.NET/Source/.vscode/tasks.json

+ 35 - 0
Ix.NET/Source/.vscode/launch.json

@@ -0,0 +1,35 @@
+{
+   "version": "0.2.0",
+   "configurations": [
+        {
+            "name": ".NET Core Launch (console) - Ix.NET.sln",
+            "type": "coreclr",
+            "request": "launch",
+            "preLaunchTask": "build - Ix.NET.sln",
+            "program": "${workspaceFolder}/Playground/bin/Debug/netcoreapp2.1/Playground.dll",
+            "args": [],
+            "cwd": "${workspaceFolder}/Playground",
+            "console": "internalConsole",
+            "stopAtEntry": false,
+            "internalConsoleOptions": "openOnSessionStart"
+        },
+        {
+            "name": ".NET Core Launch (console) - Ix.Async.NET.sln",
+            "type": "coreclr",
+            "request": "launch",
+            "preLaunchTask": "build - Ix.Async.NET.sln",
+            "program": "${workspaceFolder}/Playground/bin/Debug/netcoreapp2.1/Playground.dll",
+            "args": [],
+            "cwd": "${workspaceFolder}/Playground",
+            "console": "internalConsole",
+            "stopAtEntry": false,
+            "internalConsoleOptions": "openOnSessionStart"
+        },
+        {
+            "name": ".NET Core Attach",
+            "type": "coreclr",
+            "request": "attach",
+            "processId": "${command:pickProcess}"
+        }
+    ,]
+}

+ 35 - 0
Ix.NET/Source/.vscode/tasks.json

@@ -0,0 +1,35 @@
+{
+    "version": "2.0.0",
+    "tasks": [
+        {
+            "label": "build - Ix.NET.sln",
+            "command": "dotnet",
+            "args": [
+                "build",
+                "${workspaceFolder}/Ix.NET.sln",
+                "/property:GenerateFullPaths=true"
+            ],
+            "type": "shell",
+            "group": "build",
+            "presentation": {
+                "reveal": "silent"
+            },
+            "problemMatcher": "$msCompile"
+        },
+        {
+            "label": "build - Ix.Async.NET.sln",
+            "command": "dotnet",
+            "args": [
+                "build",
+                "${workspaceFolder}/Ix.NET.sln",
+                "/property:GenerateFullPaths=true"
+            ],
+            "type": "shell",
+            "group": "build",
+            "presentation": {
+                "reveal": "silent"
+            },
+            "problemMatcher": "$msCompile"
+        }
+    ]
+}