Skip to content

Commit

Permalink
Add launch.json files for our application projects, so VSCode can bui… (
Browse files Browse the repository at this point in the history
#5)

* Add launch.json files for our application projects, so VSCode can build and launch them.

* Fix build and run for DesktopGL and WindowsDX
CartBlanche authored Jan 27, 2025

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 6621da2 commit d9a42dc
Showing 8 changed files with 96 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -2,26 +2,32 @@
"version": 1,
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.2",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-mac"
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "C#: MGNamespace Debug",
"type": "maui",
"request": "launch",
"preLaunchTask": "maui: Build"
}
],
}
Original file line number Diff line number Diff line change
@@ -2,26 +2,32 @@
"version": 1,
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.2",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-mac"
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "C#: MGNamespace Debug",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}/MGNamespace.csproj"
}
],
}
Original file line number Diff line number Diff line change
@@ -2,26 +2,32 @@
"version": 1,
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.2",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-mac"
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "C#: MGNamespace Debug",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}/MGNamespace.csproj"
}
],
}
Original file line number Diff line number Diff line change
@@ -2,26 +2,32 @@
"version": 1,
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.2",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "1.0.0",
"version": "3.8.2",
"commands": [
"mgcb-editor-mac"
]
14 changes: 14 additions & 0 deletions CSharp/content/MonoGame.Application.iOS.CSharp/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "C#: MGNamespace Debug",
"type": "maui",
"request": "launch",
"preLaunchTask": "maui: Build"
}
],
}

0 comments on commit d9a42dc

Please sign in to comment.