diff --git a/src/Bannerlord.Module.CSharp/.template.config/template.json b/src/Bannerlord.Module.CSharp/.template.config/template.json index 2df819c..dde6f4d 100644 --- a/src/Bannerlord.Module.CSharp/.template.config/template.json +++ b/src/Bannerlord.Module.CSharp/.template.config/template.json @@ -192,7 +192,7 @@ ] } }, - + "langVersion": { "type": "parameter", "datatype": "text", diff --git a/src/Bannerlord.Module.CSharp/.vscode/launch.json b/src/Bannerlord.Module.CSharp/.vscode/launch.json new file mode 100644 index 0000000..28117eb --- /dev/null +++ b/src/Bannerlord.Module.CSharp/.vscode/launch.json @@ -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 + ] +} \ No newline at end of file diff --git a/src/Bannerlord.Module.Sdk.CSharp/.template.config/template.json b/src/Bannerlord.Module.Sdk.CSharp/.template.config/template.json index bd52785..a6547b0 100644 --- a/src/Bannerlord.Module.Sdk.CSharp/.template.config/template.json +++ b/src/Bannerlord.Module.Sdk.CSharp/.template.config/template.json @@ -179,7 +179,7 @@ ], "defaultValue": "do-not-require-anything" }, - + "langVersion": { "type": "parameter", "datatype": "text", diff --git a/src/Bannerlord.Module.Sdk.CSharp/.vscode/launch.json b/src/Bannerlord.Module.Sdk.CSharp/.vscode/launch.json new file mode 100644 index 0000000..28117eb --- /dev/null +++ b/src/Bannerlord.Module.Sdk.CSharp/.vscode/launch.json @@ -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 + ] +} \ No newline at end of file diff --git a/src/Bannerlord.Templates.csproj b/src/Bannerlord.Templates.csproj index d86745c..1e14cf5 100644 --- a/src/Bannerlord.Templates.csproj +++ b/src/Bannerlord.Templates.csproj @@ -1,7 +1,7 @@ - net5.0 + net8.0 Template true true