Skip to content

Commit

Permalink
Merge pull request #166 from BUTR/Mrcubix_master_BUTR
Browse files Browse the repository at this point in the history
VSCode Support #2
  • Loading branch information
Aragas authored Jun 28, 2024
2 parents 1027dc0 + 2e81b00 commit b8f8e8a
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
]
}
},

"langVersion": {
"type": "parameter",
"datatype": "text",
Expand Down
47 changes: 47 additions & 0 deletions src/Bannerlord.Module.CSharp/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": "0.2.0",
"configurations": [
//#if (gameWindows)
{
"name": "Start Debugging [net472] (Steam/GOG/Epic)",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
"launchConfigurationId": "TargetFramework=net472;Bannerlord"
},
{
"name": "Attach to Bannerlord [net472] (Steam/GOG/Epic)",
"type": "clr",
"request": "attach",
"processName": "Bannerlord.exe",
},
{
"name": "Attach to BLSE Bannerlord [net472] (Steam/GOG/Epic)",
"type": "clr",
"request": "attach",
"processName": "Bannerlord.BLSE.Standalone.exe",
},
//#endif
//#if (gameWindowsStore)
{
"name": "Start Debugging [net6] (Xbox)",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
"launchConfigurationId": "TargetFramework=net6;Bannerlord"
},
{
"name": "Attach to Bannerlord [net6] (Xbox)",
"type": "coreclr",
"request": "attach",
"processName": "Bannerlord.exe",
},
{
"name": "Attach to BLSE Bannerlord [net6] (Xbox)",
"type": "coreclr",
"request": "attach",
"processName": "Bannerlord.BLSE.Standalone.exe",
}
//#endif
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
],
"defaultValue": "do-not-require-anything"
},

"langVersion": {
"type": "parameter",
"datatype": "text",
Expand Down
47 changes: 47 additions & 0 deletions src/Bannerlord.Module.Sdk.CSharp/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": "0.2.0",
"configurations": [
//#if (gameWindows)
{
"name": "Start Debugging [net472] (Steam/GOG/Epic)",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
"launchConfigurationId": "TargetFramework=net472;Bannerlord"
},
{
"name": "Attach to Bannerlord [net472] (Steam/GOG/Epic)",
"type": "clr",
"request": "attach",
"processName": "Bannerlord.exe",
},
{
"name": "Attach to BLSE Bannerlord [net472] (Steam/GOG/Epic)",
"type": "clr",
"request": "attach",
"processName": "Bannerlord.BLSE.Standalone.exe",
},
//#endif
//#if (gameWindowsStore)
{
"name": "Start Debugging [net6] (Xbox)",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
"launchConfigurationId": "TargetFramework=net6;Bannerlord"
},
{
"name": "Attach to Bannerlord [net6] (Xbox)",
"type": "coreclr",
"request": "attach",
"processName": "Bannerlord.exe",
},
{
"name": "Attach to BLSE Bannerlord [net6] (Xbox)",
"type": "coreclr",
"request": "attach",
"processName": "Bannerlord.BLSE.Standalone.exe",
}
//#endif
]
}
2 changes: 1 addition & 1 deletion src/Bannerlord.Templates.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Label="Build">
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PackageType>Template</PackageType>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeContentInPack>true</IncludeContentInPack>
Expand Down

0 comments on commit b8f8e8a

Please sign in to comment.