Skip to content

Commit b8f8e8a

Browse files
authored
Merge pull request #166 from BUTR/Mrcubix_master_BUTR
VSCode Support #2
2 parents 1027dc0 + 2e81b00 commit b8f8e8a

File tree

5 files changed

+97
-3
lines changed

5 files changed

+97
-3
lines changed

src/Bannerlord.Module.CSharp/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
]
193193
}
194194
},
195-
195+
196196
"langVersion": {
197197
"type": "parameter",
198198
"datatype": "text",
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
//#if (gameWindows)
5+
{
6+
"name": "Start Debugging [net472] (Steam/GOG/Epic)",
7+
"type": "dotnet",
8+
"request": "launch",
9+
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
10+
"launchConfigurationId": "TargetFramework=net472;Bannerlord"
11+
},
12+
{
13+
"name": "Attach to Bannerlord [net472] (Steam/GOG/Epic)",
14+
"type": "clr",
15+
"request": "attach",
16+
"processName": "Bannerlord.exe",
17+
},
18+
{
19+
"name": "Attach to BLSE Bannerlord [net472] (Steam/GOG/Epic)",
20+
"type": "clr",
21+
"request": "attach",
22+
"processName": "Bannerlord.BLSE.Standalone.exe",
23+
},
24+
//#endif
25+
//#if (gameWindowsStore)
26+
{
27+
"name": "Start Debugging [net6] (Xbox)",
28+
"type": "dotnet",
29+
"request": "launch",
30+
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
31+
"launchConfigurationId": "TargetFramework=net6;Bannerlord"
32+
},
33+
{
34+
"name": "Attach to Bannerlord [net6] (Xbox)",
35+
"type": "coreclr",
36+
"request": "attach",
37+
"processName": "Bannerlord.exe",
38+
},
39+
{
40+
"name": "Attach to BLSE Bannerlord [net6] (Xbox)",
41+
"type": "coreclr",
42+
"request": "attach",
43+
"processName": "Bannerlord.BLSE.Standalone.exe",
44+
}
45+
//#endif
46+
]
47+
}

src/Bannerlord.Module.Sdk.CSharp/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
],
180180
"defaultValue": "do-not-require-anything"
181181
},
182-
182+
183183
"langVersion": {
184184
"type": "parameter",
185185
"datatype": "text",
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
//#if (gameWindows)
5+
{
6+
"name": "Start Debugging [net472] (Steam/GOG/Epic)",
7+
"type": "dotnet",
8+
"request": "launch",
9+
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
10+
"launchConfigurationId": "TargetFramework=net472;Bannerlord"
11+
},
12+
{
13+
"name": "Attach to Bannerlord [net472] (Steam/GOG/Epic)",
14+
"type": "clr",
15+
"request": "attach",
16+
"processName": "Bannerlord.exe",
17+
},
18+
{
19+
"name": "Attach to BLSE Bannerlord [net472] (Steam/GOG/Epic)",
20+
"type": "clr",
21+
"request": "attach",
22+
"processName": "Bannerlord.BLSE.Standalone.exe",
23+
},
24+
//#endif
25+
//#if (gameWindowsStore)
26+
{
27+
"name": "Start Debugging [net6] (Xbox)",
28+
"type": "dotnet",
29+
"request": "launch",
30+
"projectPath": "${workspaceFolder}\\BLNamespace.csproj",
31+
"launchConfigurationId": "TargetFramework=net6;Bannerlord"
32+
},
33+
{
34+
"name": "Attach to Bannerlord [net6] (Xbox)",
35+
"type": "coreclr",
36+
"request": "attach",
37+
"processName": "Bannerlord.exe",
38+
},
39+
{
40+
"name": "Attach to BLSE Bannerlord [net6] (Xbox)",
41+
"type": "coreclr",
42+
"request": "attach",
43+
"processName": "Bannerlord.BLSE.Standalone.exe",
44+
}
45+
//#endif
46+
]
47+
}

src/Bannerlord.Templates.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup Label="Build">
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<PackageType>Template</PackageType>
66
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
77
<IncludeContentInPack>true</IncludeContentInPack>

0 commit comments

Comments
 (0)