From a63d2786ac7abb236bd11692fad23ac4ede40035 Mon Sep 17 00:00:00 2001 From: Scott Hanselman Date: Wed, 14 Oct 2020 17:27:56 -0700 Subject: [PATCH] updating to 3.1 LTS --- Labs/Code/App/AttendeeList/AttendeeList.csproj | 6 ++++-- Labs/Code/App/AttendeeList/Startup.cs | 3 ++- Labs/Code/Lab1/MyNewApp/MyNewApp.csproj | 10 +++------- Labs/Code/Lab2A/src/Lab2A/Lab2A.csproj | 10 +++++----- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Labs/Code/App/AttendeeList/AttendeeList.csproj b/Labs/Code/App/AttendeeList/AttendeeList.csproj index 9ebab39..500956a 100644 --- a/Labs/Code/App/AttendeeList/AttendeeList.csproj +++ b/Labs/Code/App/AttendeeList/AttendeeList.csproj @@ -1,12 +1,14 @@  - netcoreapp2.2 + netcoreapp3.1 true - + + + diff --git a/Labs/Code/App/AttendeeList/Startup.cs b/Labs/Code/App/AttendeeList/Startup.cs index 498f173..2494c24 100644 --- a/Labs/Code/App/AttendeeList/Startup.cs +++ b/Labs/Code/App/AttendeeList/Startup.cs @@ -1,5 +1,6 @@ using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; @@ -30,7 +31,7 @@ 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, IHostingEnvironment env) + public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) { diff --git a/Labs/Code/Lab1/MyNewApp/MyNewApp.csproj b/Labs/Code/Lab1/MyNewApp/MyNewApp.csproj index d375d3e..b878823 100644 --- a/Labs/Code/Lab1/MyNewApp/MyNewApp.csproj +++ b/Labs/Code/Lab1/MyNewApp/MyNewApp.csproj @@ -1,12 +1,8 @@ - + Exe - netcoreapp2.2 + netcoreapp3.1 - - - - - + diff --git a/Labs/Code/Lab2A/src/Lab2A/Lab2A.csproj b/Labs/Code/Lab2A/src/Lab2A/Lab2A.csproj index b5d0e49..242d6cb 100644 --- a/Labs/Code/Lab2A/src/Lab2A/Lab2A.csproj +++ b/Labs/Code/Lab2A/src/Lab2A/Lab2A.csproj @@ -10,11 +10,11 @@ - - - - - + + + + +