diff --git a/.gitignore b/.gitignore index ca1c7a3..1b76a75 100644 --- a/.gitignore +++ b/.gitignore @@ -383,7 +383,6 @@ FodyWeavers.xsd !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json -*.code-workspace # Local History for Visual Studio Code .history/ diff --git a/Tasks/AdvancedConcepts/.vscode/launch.json b/Tasks/AdvancedConcepts/.vscode/launch.json new file mode 100644 index 0000000..c300c85 --- /dev/null +++ b/Tasks/AdvancedConcepts/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + "version": "0.2.0", + "configurations": [ + { + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/bin/Debug/net8.0/AdvancedConcepts.dll", + "args": [], + "cwd": "${workspaceFolder}", + // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/Tasks/AdvancedConcepts/.vscode/tasks.json b/Tasks/AdvancedConcepts/.vscode/tasks.json new file mode 100644 index 0000000..e5f1ff9 --- /dev/null +++ b/Tasks/AdvancedConcepts/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/AdvancedConcepts.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/AdvancedConcepts.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/AdvancedConcepts.csproj" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/Tasks/UrlTester/.vscode/launch.json b/Tasks/UrlTester/.vscode/launch.json new file mode 100644 index 0000000..e150308 --- /dev/null +++ b/Tasks/UrlTester/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + "version": "0.2.0", + "configurations": [ + { + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/bin/Debug/net8.0-windows/UrlTester.dll", + "args": [], + "cwd": "${workspaceFolder}", + // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/Tasks/UrlTester/.vscode/tasks.json b/Tasks/UrlTester/.vscode/tasks.json new file mode 100644 index 0000000..c5e5e41 --- /dev/null +++ b/Tasks/UrlTester/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/UrlTester.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/UrlTester.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/UrlTester.csproj" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/zhaw-dnet2.code-workspace b/zhaw-dnet2.code-workspace new file mode 100644 index 0000000..e9d7b3e --- /dev/null +++ b/zhaw-dnet2.code-workspace @@ -0,0 +1,14 @@ +{ + "folders": [ + { + "name": "Solution Items", + "path": "." + }, + { + "path": "./Tasks/AdvancedConcepts" + }, + { + "path": "./Tasks/UrlTester" + } + ] +}