From 7cd427af6b0a92868c84c80d5ff2831f2d48fd1f Mon Sep 17 00:00:00 2001 From: David Fowler Date: Tue, 8 Jun 2021 21:54:20 -0700 Subject: [PATCH 1/3] Remove the cast --- .../Web.ProjectTemplates/content/EmptyWeb-CSharp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/Program.cs b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/Program.cs index 95163f97f58f..ba1fabff931e 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/Program.cs +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/Program.cs @@ -10,6 +10,6 @@ app.UseDeveloperExceptionPage(); } -app.MapGet("/", (Func)(() => "Hello World!")); +app.MapGet("/", () => "Hello World!"); app.Run(); From 5876a196f339261812fe39f25b7b86953af3f70f Mon Sep 17 00:00:00 2001 From: David Fowler Date: Wed, 9 Jun 2021 01:19:28 -0700 Subject: [PATCH 2/3] Add language version preview --- .../Web.ProjectTemplates/EmptyWeb-CSharp.csproj.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/EmptyWeb-CSharp.csproj.in b/src/ProjectTemplates/Web.ProjectTemplates/EmptyWeb-CSharp.csproj.in index f685d2d72dac..29cbeb320f96 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/EmptyWeb-CSharp.csproj.in +++ b/src/ProjectTemplates/Web.ProjectTemplates/EmptyWeb-CSharp.csproj.in @@ -4,6 +4,7 @@ ${DefaultNetCoreTargetFramework} True Company.WebApplication1 + preview From 7edf1d9625dc3a15b96d0ea08dc43c2b76e947be Mon Sep 17 00:00:00 2001 From: David Fowler Date: Sat, 12 Jun 2021 01:48:49 -0700 Subject: [PATCH 3/3] Remove implicit Microsoft.Net.Compilers.TooSet dependency --- eng/tools/GenerateFiles/Directory.Build.targets.in | 4 ---- eng/tools/GenerateFiles/GenerateFiles.csproj | 1 - 2 files changed, 5 deletions(-) diff --git a/eng/tools/GenerateFiles/Directory.Build.targets.in b/eng/tools/GenerateFiles/Directory.Build.targets.in index 72b61969c194..53cd9040e933 100644 --- a/eng/tools/GenerateFiles/Directory.Build.targets.in +++ b/eng/tools/GenerateFiles/Directory.Build.targets.in @@ -54,10 +54,6 @@ Condition=" '$(IsServicingBuild)' != 'true' ">${MicrosoftAspNetCoreAppRefVersion} - diff --git a/eng/tools/GenerateFiles/GenerateFiles.csproj b/eng/tools/GenerateFiles/GenerateFiles.csproj index 13eb916ee2ca..b53ee6336fc2 100644 --- a/eng/tools/GenerateFiles/GenerateFiles.csproj +++ b/eng/tools/GenerateFiles/GenerateFiles.csproj @@ -13,7 +13,6 @@ MicrosoftAspNetCoreAppRuntimeVersion=$(SharedFxVersion); MicrosoftNETCoreAppRefVersion=$(MicrosoftNETCoreAppRefVersion); MicrosoftNETCoreAppRuntimeVersion=$(MicrosoftNETCoreAppRuntimeVersion); - MicrosoftNetCompilersToolsetVersion=$(MicrosoftNetCompilersToolsetVersion); SupportedRuntimeIdentifiers=$(SupportedRuntimeIdentifiers.Trim())