Skip to content

Commit d0b329b

Browse files
committed
csharp: fixes installer on mac and added building project using pre_debug_task
1 parent 58ed02a commit d0b329b

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

examples/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'examples/sublime_debug/sublime.sublime-project',
33
'examples/cpp/cpp.sublime-project',
44
'examples/go/go.sublime-project',
5+
'examples/csharp/csharp.sublime-project',
56
'examples/mock/mock.sublime-project',
67
'examples/php/php.sublime-project',
78
'examples/python/python.sublime-project',
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@
44
"path": ".",
55
}
66
],
7-
"build_systems": [
7+
"debugger_tasks": [
88
{
9-
"name": "build",
9+
"name": "Build",
1010
"cmd": ["dotnet", "build"],
11+
"working_dir": "${folder}",
1112
}
1213
],
1314
"debugger_configurations": [
1415
{
15-
"name": ".NET Core Launch (console)",
16+
"pre_debug_task": "Build",
17+
18+
"name": "CSharp: NET Core Launch (console)",
1619
"type": "coreclr",
1720
"request": "launch",
1821
"program": "${folder}/bin/Debug/net8.0/csharp.dll",

modules/adapters/csharp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CSharpInstaller(util.GitSourceInstaller):
1414
HOSTS_PLATFORMS = {
1515
'windows': 'win32',
1616
'linux': 'linux',
17-
'osx': 'osx',
17+
'osx': 'darwin',
1818
}
1919

2020
HOST_ARCHS = {

0 commit comments

Comments
 (0)