Skip to content

Commit 4651fca

Browse files
committed
Add back target netstandard2.0
in addition to net45 and netstandard1.6
1 parent db9ec40 commit 4651fca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;netstandard1.6</TargetFrameworks>
4+
<TargetFrameworks>net45;;netstandard1.6;netstandard2.0</TargetFrameworks>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<IsPackable>true</IsPackable>
77
<Description>Command-line parsing API. A community-maintained fork of Microsoft.Extensions.CommandLineUtils, plus extras.

src/CommandLineUtils/Utilities/DotNetExe.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private static string TryFindDotNetExePath()
3838
{
3939
#if NET45
4040
return "dotnet.exe";
41-
#elif NETSTANDARD1_6
41+
#elif (NETSTANDARD1_6 || NETSTANDARD2_0)
4242
var fileName = FileName;
4343

4444
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))

0 commit comments

Comments
 (0)