diff --git a/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj b/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj
index 2db57db2538c..adca7bcf7696 100644
--- a/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj
+++ b/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.csproj
@@ -3,7 +3,7 @@
- netcoreapp2.1;$(DefaultNetCoreTargetFramework);$(DefaultNetFxTargetFramework)
+ $(DefaultNetCoreTargetFramework);$(DefaultNetFxTargetFramework)
MSBuild tasks and targets for build-time Swagger and OpenApi document generation
true
diff --git a/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.nuspec b/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.nuspec
index be5d875fb7aa..1a96aa8e8d4f 100644
--- a/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.nuspec
+++ b/src/Tools/Extensions.ApiDescription.Server/src/Microsoft.Extensions.ApiDescription.Server.nuspec
@@ -8,10 +8,9 @@
$CommonFileElements$
-
+
-
diff --git a/src/Tools/GetDocumentInsider/src/GetDocument.Insider.csproj b/src/Tools/GetDocumentInsider/src/GetDocument.Insider.csproj
index 77e80185d292..578807985ad4 100644
--- a/src/Tools/GetDocumentInsider/src/GetDocument.Insider.csproj
+++ b/src/Tools/GetDocumentInsider/src/GetDocument.Insider.csproj
@@ -5,7 +5,7 @@
false
Exe
Microsoft.Extensions.ApiDescription.Tool
- netcoreapp2.1;$(DefaultNetCoreTargetFramework);$(DefaultNetFxTargetFramework)
+ $(DefaultNetCoreTargetFramework);$(DefaultNetFxTargetFramework)
false
$(NoWarn);nullable
@@ -19,12 +19,6 @@
-
-
- true
-
-
-
diff --git a/src/Tools/dotnet-getdocument/src/Commands/InvokeCommand.cs b/src/Tools/dotnet-getdocument/src/Commands/InvokeCommand.cs
index 593719792974..a04aab04701f 100644
--- a/src/Tools/dotnet-getdocument/src/Commands/InvokeCommand.cs
+++ b/src/Tools/dotnet-getdocument/src/Commands/InvokeCommand.cs
@@ -79,13 +79,9 @@ protected override int Execute()
projectName,
targetFramework.Version));
}
- else if (targetFramework.Version >= new Version(7, 0))
- {
- toolsDirectory = Path.Combine(thisPath, $"net{targetFramework.Version}");
- }
else
{
- toolsDirectory = Path.Combine(thisPath, "netcoreapp2.1");
+ toolsDirectory = Path.Combine(thisPath, $"net{targetFramework.Version}");
}
executable = DotNetMuxer.MuxerPathOrDefault();
diff --git a/src/Tools/dotnet-getdocument/src/dotnet-getdocument.csproj b/src/Tools/dotnet-getdocument/src/dotnet-getdocument.csproj
index 3b37a5ea7841..d8e25cf29741 100644
--- a/src/Tools/dotnet-getdocument/src/dotnet-getdocument.csproj
+++ b/src/Tools/dotnet-getdocument/src/dotnet-getdocument.csproj
@@ -5,7 +5,7 @@
false
Exe
Microsoft.Extensions.ApiDescription.Tool
- netcoreapp2.1;$(DefaultNetCoreTargetFramework)
+ $(DefaultNetCoreTargetFramework)
false
false