Skip to content

Commit

Permalink
csharp: fixes installer on mac and added building project using pre_d…
Browse files Browse the repository at this point in the history
…ebug_task
  • Loading branch information
daveleroy committed Dec 22, 2024
1 parent 58ed02a commit d0b329b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions examples/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
'examples/sublime_debug/sublime.sublime-project',
'examples/cpp/cpp.sublime-project',
'examples/go/go.sublime-project',
'examples/csharp/csharp.sublime-project',
'examples/mock/mock.sublime-project',
'examples/php/php.sublime-project',
'examples/python/python.sublime-project',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
"path": ".",
}
],
"build_systems": [
"debugger_tasks": [
{
"name": "build",
"name": "Build",
"cmd": ["dotnet", "build"],
"working_dir": "${folder}",
}
],
"debugger_configurations": [
{
"name": ".NET Core Launch (console)",
"pre_debug_task": "Build",

"name": "CSharp: NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"program": "${folder}/bin/Debug/net8.0/csharp.dll",
Expand Down
2 changes: 1 addition & 1 deletion modules/adapters/csharp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CSharpInstaller(util.GitSourceInstaller):
HOSTS_PLATFORMS = {
'windows': 'win32',
'linux': 'linux',
'osx': 'osx',
'osx': 'darwin',
}

HOST_ARCHS = {
Expand Down

0 comments on commit d0b329b

Please sign in to comment.