From b6c16c5674bafa3d62ba453e26edeb326f2b55b5 Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Tue, 30 May 2023 14:17:27 +0100 Subject: [PATCH] Remove Console Title lines to allow running as windows services --- .../Program.cs | 2 -- ...rocessing - Backup.SchedulerService.csproj | 26 ------------------- ...nsactionProcessing.SchedulerService.csproj | 10 +++---- .../Program.cs | 2 -- 4 files changed, 5 insertions(+), 35 deletions(-) delete mode 100644 TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing - Backup.SchedulerService.csproj diff --git a/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/Program.cs b/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/Program.cs index 84c2884..2c207be 100644 --- a/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/Program.cs +++ b/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/Program.cs @@ -33,8 +33,6 @@ public static void Main(string[] args) public static IHostBuilder CreateHostBuilder(string[] args) { - Console.Title = "Scheduler Service"; - //At this stage, we only need our hosting file for ip and ports IConfigurationRoot config = new ConfigurationBuilder().SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("hosting.json", optional: true) diff --git a/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing - Backup.SchedulerService.csproj b/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing - Backup.SchedulerService.csproj deleted file mode 100644 index 29b0345..0000000 --- a/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing - Backup.SchedulerService.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - net7.0 - - - - - - - - - - - - - - - - - - - Always - - - diff --git a/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService.csproj b/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService.csproj index 012f2bd..09d52e2 100644 --- a/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService.csproj +++ b/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService.csproj @@ -5,11 +5,11 @@ - - - - - + + + + + diff --git a/TransactionProcessor.HealthChecksUI/TransactionProcessor.HealthChecksUI/Program.cs b/TransactionProcessor.HealthChecksUI/TransactionProcessor.HealthChecksUI/Program.cs index 296d2a1..4144b40 100644 --- a/TransactionProcessor.HealthChecksUI/TransactionProcessor.HealthChecksUI/Program.cs +++ b/TransactionProcessor.HealthChecksUI/TransactionProcessor.HealthChecksUI/Program.cs @@ -20,8 +20,6 @@ public static void Main(string[] args) public static IHostBuilder CreateHostBuilder(string[] args) { - Console.Title = "Transaction Processor Health Checks"; - //At this stage, we only need our hosting file for ip and ports IConfigurationRoot config = new ConfigurationBuilder().SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("hosting.json", optional: true)