completely remove netcoreapp2.1 (#2286)

This commit is contained in:
Reiley Yang 2021-08-25 18:06:26 -07:00 committed by GitHub
parent 53a880fdd7
commit c22a4189b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -7,14 +7,14 @@ labels: bug
# Bug Report # Bug Report
List of [NuGet packages](https://www.nuget.org/profiles/OpenTelemetry) and List of [NuGet packages](https://www.nuget.org/profiles/OpenTelemetry) and
version that you are using (e.g. `OpenTelemetry 0.4.0-beta.2`): version that you are using (e.g. `OpenTelemetry 1.0.2`):
* * TBD
Runtime version (e.g. `net461`, `net48`, `netcoreapp2.1`, `netcoreapp3.1`, etc. Runtime version (e.g. `net461`, `net48`, `netcoreapp3.1`, `net5.0` etc. You can
You can find this information from the `*.csproj` file): find this information from the `*.csproj` file):
* * TBD
## Symptom ## Symptom

View File

@ -20,9 +20,7 @@ using System.IO;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using OpenTelemetry.Trace; using OpenTelemetry.Trace;
#if NETCOREAPP2_1 #if NETCOREAPP3_1
using TestApp.AspNetCore._2._1;
#elif NETCOREAPP3_1
using TestApp.AspNetCore._3._1; using TestApp.AspNetCore._3._1;
#else #else
using TestApp.AspNetCore._5._0; using TestApp.AspNetCore._5._0;