Skip to content

Commit

Permalink
add vscode folder for native example
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Dilli committed Feb 22, 2024
1 parent a7195bc commit 7a69463
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
46 changes: 46 additions & 0 deletions code_mods/NativeInterop/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
// 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": "Launch Client (Debug)",
"type": "coreclr",
"request": "launch",
"program": "${env:VINTAGE_STORY}/Vintagestory.exe",
"linux": {
"program": "${env:VINTAGE_STORY}/Vintagestory"
},
"osx": {
"program": "${env:VINTAGE_STORY}/Vintagestory"
},
"preLaunchTask": "build",
"args": [
// "--playStyle" , "preset-surviveandbuild",
// "--openWorld" , "modding test world",
"--tracelog","--addModPath","${workspaceFolder}/nativeInterop/bin/Debug/Mods"
],
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "Launch Server",
"type": "coreclr",
"request": "launch",
"program": "${env:VINTAGE_STORY}/VintagestoryServer.exe",
"linux": {
"program": "${env:VINTAGE_STORY}/VintagestoryServer"
},
"osx": {
"program": "${env:VINTAGE_STORY}/VintagestoryServer"
},
"preLaunchTask": "build",
"args": [
"--tracelog","--addModPath","${workspaceFolder}/nativeInterop/bin/Debug/Mods"
],
"console": "internalConsole",
"stopAtEntry": false
}
]
}
3 changes: 3 additions & 0 deletions code_mods/NativeInterop/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "nativeInterop.sln"
}
28 changes: 28 additions & 0 deletions code_mods/NativeInterop/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"-c",
"Debug",
"${workspaceFolder}/nativeInterop/nativeInterop.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "package",
"command": "dotnet",
"type": "process",
"args": [
"run",
"--project",
"${workspaceFolder}/CakeBuild/CakeBuild.csproj"
],
"problemMatcher": "$msCompile"
}
]
}
File renamed without changes.

0 comments on commit 7a69463

Please sign in to comment.