From 13954730dcd3e28a43139552f969914df3d95dd7 Mon Sep 17 00:00:00 2001 From: Megan Mott Date: Tue, 16 Apr 2024 14:10:32 -0700 Subject: [PATCH 1/2] remove csharp test --- .../3.1/.vscode/settings.json | 4 -- .../dotnet-hello-world/3.1/.vscode/tasks.json | 69 ------------------- .../dotnet-hello-world/3.1/3.1.csproj | 8 --- .../dotnet-hello-world/3.1/Program.cs | 26 ------- .../dotnet-hello-world/3.1/Startup.cs | 43 ------------ .../3.1/appsettings.Development.json | 9 --- .../dotnet-hello-world/3.1/appsettings.json | 10 --- .../5.0/.vscode/settings.json | 4 -- .../dotnet-hello-world/5.0/.vscode/tasks.json | 32 --------- .../dotnet-hello-world/5.0/5.0.csproj | 8 --- .../dotnet-hello-world/5.0/Program.cs | 26 ------- .../dotnet-hello-world/5.0/Startup.cs | 43 ------------ .../5.0/appsettings.Development.json | 9 --- .../dotnet-hello-world/5.0/appsettings.json | 10 --- .../6.0/.vscode/settings.json | 4 -- .../dotnet-hello-world/6.0/.vscode/tasks.json | 32 --------- .../dotnet-hello-world/6.0/6.0.csproj | 10 --- .../dotnet-hello-world/6.0/Program.cs | 6 -- .../6.0/appsettings.Development.json | 8 --- .../dotnet-hello-world/6.0/appsettings.json | 9 --- 20 files changed, 370 deletions(-) delete mode 100644 test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/settings.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/tasks.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/3.1/3.1.csproj delete mode 100644 test/nightly/testFolder/dotnet-hello-world/3.1/Program.cs delete mode 100644 test/nightly/testFolder/dotnet-hello-world/3.1/Startup.cs delete mode 100644 test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.Development.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/settings.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/tasks.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/5.0/5.0.csproj delete mode 100644 test/nightly/testFolder/dotnet-hello-world/5.0/Program.cs delete mode 100644 test/nightly/testFolder/dotnet-hello-world/5.0/Startup.cs delete mode 100644 test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.Development.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/settings.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/tasks.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/6.0/6.0.csproj delete mode 100644 test/nightly/testFolder/dotnet-hello-world/6.0/Program.cs delete mode 100644 test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.Development.json delete mode 100644 test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.json diff --git a/test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/settings.json b/test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/settings.json deleted file mode 100644 index c191efced..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "appService.preDeployTask": "publish-release", - "appService.deploySubpath": "bin/Release/netcoreapp3.1/publish" -} \ No newline at end of file diff --git a/test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/tasks.json b/test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/tasks.json deleted file mode 100644 index 9b6f240ea..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/3.1/.vscode/tasks.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "build", - "command": "dotnet", - "type": "process", - "args": [ - "build", - "${workspaceFolder}/3.1.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "publish", - "command": "dotnet", - "type": "process", - "args": [ - "publish", - "${workspaceFolder}/3.1.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "watch", - "command": "dotnet", - "type": "process", - "args": [ - "watch", - "run", - "${workspaceFolder}/3.1.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "clean", - "command": "dotnet", - "type": "process", - "args": [ - "clean", - "${workspaceFolder}", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "publish-release", - "command": "dotnet", - "type": "process", - "args": [ - "publish", - "${workspaceFolder}", - "--configuration", - "Release", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile", - "dependsOn": "clean" - } - ] -} \ No newline at end of file diff --git a/test/nightly/testFolder/dotnet-hello-world/3.1/3.1.csproj b/test/nightly/testFolder/dotnet-hello-world/3.1/3.1.csproj deleted file mode 100644 index e8d74ff6b..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/3.1/3.1.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - netcoreapp3.1 - _3._1 - - - diff --git a/test/nightly/testFolder/dotnet-hello-world/3.1/Program.cs b/test/nightly/testFolder/dotnet-hello-world/3.1/Program.cs deleted file mode 100644 index b35fa9d12..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/3.1/Program.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; - -namespace _3._1 -{ - public class Program - { - public static void Main(string[] args) - { - CreateHostBuilder(args).Build().Run(); - } - - public static IHostBuilder CreateHostBuilder(string[] args) => - Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }); - } -} diff --git a/test/nightly/testFolder/dotnet-hello-world/3.1/Startup.cs b/test/nightly/testFolder/dotnet-hello-world/3.1/Startup.cs deleted file mode 100644 index 979dfcee4..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/3.1/Startup.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; - -namespace _3._1 -{ - public class Startup - { - // This method gets called by the runtime. Use this method to add services to the container. - // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940 - public void ConfigureServices(IServiceCollection services) - { - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IWebHostEnvironment env) - { - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - - app.UseRouting(); - - app.UseEndpoints(endpoints => - { - endpoints.MapGet("/", async context => - { - context.Response.ContentType = "text/plain"; - // Doesn't seem to be an easy way to get the version dynamically - // Plus this should fail on any other framework anyways because of the TargetFramework in the csproj - await context.Response.WriteAsync("Version: 3.1"); - }); - }); - } - } -} diff --git a/test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.Development.json b/test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.Development.json deleted file mode 100644 index 8983e0fc1..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.Development.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - } -} diff --git a/test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.json b/test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.json deleted file mode 100644 index d9d9a9bff..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/3.1/appsettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - }, - "AllowedHosts": "*" -} diff --git a/test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/settings.json b/test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/settings.json deleted file mode 100644 index 5b7766051..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "appService.preDeployTask": "publish-release", - "appService.deploySubpath": "bin/Release/net5.0/publish" -} diff --git a/test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/tasks.json b/test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/tasks.json deleted file mode 100644 index e7f5bf1d7..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/5.0/.vscode/tasks.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "clean", - "command": "dotnet", - "type": "process", - "args": [ - "clean", - "${workspaceFolder}", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "publish-release", - "command": "dotnet", - "type": "process", - "args": [ - "publish", - "${workspaceFolder}", - "--configuration", - "Release", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile", - "dependsOn": "clean" - } - ] -} \ No newline at end of file diff --git a/test/nightly/testFolder/dotnet-hello-world/5.0/5.0.csproj b/test/nightly/testFolder/dotnet-hello-world/5.0/5.0.csproj deleted file mode 100644 index fef78251f..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/5.0/5.0.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - net5.0 - _5._0 - - - diff --git a/test/nightly/testFolder/dotnet-hello-world/5.0/Program.cs b/test/nightly/testFolder/dotnet-hello-world/5.0/Program.cs deleted file mode 100644 index 45f1b83a1..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/5.0/Program.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; - -namespace _5._0 -{ - public class Program - { - public static void Main(string[] args) - { - CreateHostBuilder(args).Build().Run(); - } - - public static IHostBuilder CreateHostBuilder(string[] args) => - Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }); - } -} diff --git a/test/nightly/testFolder/dotnet-hello-world/5.0/Startup.cs b/test/nightly/testFolder/dotnet-hello-world/5.0/Startup.cs deleted file mode 100644 index a55eaaa74..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/5.0/Startup.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; - -namespace _5._0 -{ - public class Startup - { - // This method gets called by the runtime. Use this method to add services to the container. - // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940 - public void ConfigureServices(IServiceCollection services) - { - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IWebHostEnvironment env) - { - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - - app.UseRouting(); - - app.UseEndpoints(endpoints => - { - endpoints.MapGet("/", async context => - { - context.Response.ContentType = "text/plain"; - // Doesn't seem to be an easy way to get the version dynamically - // Plus this should fail on any other framework anyways because of the TargetFramework in the csproj - await context.Response.WriteAsync("Version: 5.0"); - }); - }); - } - } -} diff --git a/test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.Development.json b/test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.Development.json deleted file mode 100644 index dba68eb12..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.Development.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - } -} diff --git a/test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.json b/test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.json deleted file mode 100644 index 81ff87771..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/5.0/appsettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - }, - "AllowedHosts": "*" -} diff --git a/test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/settings.json b/test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/settings.json deleted file mode 100644 index d6f1c9371..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "appService.preDeployTask": "publish-release", - "appService.deploySubpath": "bin/Release/net6.0/publish" -} \ No newline at end of file diff --git a/test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/tasks.json b/test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/tasks.json deleted file mode 100644 index e7f5bf1d7..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/6.0/.vscode/tasks.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "clean", - "command": "dotnet", - "type": "process", - "args": [ - "clean", - "${workspaceFolder}", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "publish-release", - "command": "dotnet", - "type": "process", - "args": [ - "publish", - "${workspaceFolder}", - "--configuration", - "Release", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile", - "dependsOn": "clean" - } - ] -} \ No newline at end of file diff --git a/test/nightly/testFolder/dotnet-hello-world/6.0/6.0.csproj b/test/nightly/testFolder/dotnet-hello-world/6.0/6.0.csproj deleted file mode 100644 index ee5f4eee7..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/6.0/6.0.csproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - net6.0 - enable - enable - _6._0 - - - diff --git a/test/nightly/testFolder/dotnet-hello-world/6.0/Program.cs b/test/nightly/testFolder/dotnet-hello-world/6.0/Program.cs deleted file mode 100644 index 832611de9..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/6.0/Program.cs +++ /dev/null @@ -1,6 +0,0 @@ -var builder = WebApplication.CreateBuilder(args); -var app = builder.Build(); - -app.MapGet("/", () => "Version: 6.0"); - -app.Run(); diff --git a/test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.Development.json b/test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.Development.json deleted file mode 100644 index 0c208ae91..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.Development.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - } -} diff --git a/test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.json b/test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.json deleted file mode 100644 index 10f68b8c8..000000000 --- a/test/nightly/testFolder/dotnet-hello-world/6.0/appsettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} From 91b3c1766662fc25b45af1a10cfa7e653aa936ca Mon Sep 17 00:00:00 2001 From: Megan Mott Date: Wed, 17 Apr 2024 09:00:46 -0700 Subject: [PATCH 2/2] empty