From 174a192e359ae0ea8fca45f519193527b69092b3 Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Fri, 26 Apr 2024 09:20:56 +0200 Subject: [PATCH 1/2] fix wrong placeholder --- templates/nuget-classlib/ClassLibrary/ClassLibrary.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nuget-classlib/ClassLibrary/ClassLibrary.csproj b/templates/nuget-classlib/ClassLibrary/ClassLibrary.csproj index 9ad7372..0bb474d 100644 --- a/templates/nuget-classlib/ClassLibrary/ClassLibrary.csproj +++ b/templates/nuget-classlib/ClassLibrary/ClassLibrary.csproj @@ -11,7 +11,7 @@ Kurmann.ClassLibrary - RootNamespace + NamespacePlaceholder From 3ab4c08ec406264d6246f0758ca10152e874ff98 Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Fri, 26 Apr 2024 09:29:23 +0200 Subject: [PATCH 2/2] added debug vscode settings --- templates/services-repo/.vscode/launch.json | 19 ++++++++++ templates/services-repo/.vscode/tasks.json | 41 +++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 templates/services-repo/.vscode/launch.json create mode 100644 templates/services-repo/.vscode/tasks.json diff --git a/templates/services-repo/.vscode/launch.json b/templates/services-repo/.vscode/launch.json new file mode 100644 index 0000000..e8edccd --- /dev/null +++ b/templates/services-repo/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/src/Application/bin/Debug/net8.0/NamespacePlaceholder.ProjectName.Application.dll", + "args": [], + "cwd": "${workspaceFolder}", + "stopAtEntry": false, + "console": "internalConsole", + "env": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + ] +} diff --git a/templates/services-repo/.vscode/tasks.json b/templates/services-repo/.vscode/tasks.json new file mode 100644 index 0000000..e21a328 --- /dev/null +++ b/templates/services-repo/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/src/Application/Application.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/src/Application/Application.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/src/Application/Application.csproj" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file