From cdbe00e8c64d8d0b47cf9f21db2fa9ea4f53876e Mon Sep 17 00:00:00 2001 From: Sean Date: Tue, 25 Mar 2025 21:52:31 -0400 Subject: [PATCH] Code cleanup --- .vscode/launch.json | 24 +++++++++++++++++++ .vscode/tasks.json | 41 ++++++++++++++++++++++++++++++++ MarketData/MarketData/Program.cs | 1 - 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..fc6ddaa --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/MarketData/MarketData/bin/Debug/net8.0/mk.dll", + "args": [], + "cwd": "${workspaceFolder}/MarketData/MarketData", + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..8138dd6 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/MarketData/MarketData.sln", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/MarketData/MarketData.sln", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/MarketData/MarketData.sln" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/MarketData/MarketData/Program.cs b/MarketData/MarketData/Program.cs index 253cbfc..d044613 100755 --- a/MarketData/MarketData/Program.cs +++ b/MarketData/MarketData/Program.cs @@ -20,6 +20,5 @@ namespace MarketData services.AddSingleton(); services.BuildServiceProvider().GetService().Execute(); } - } }