Skip to content

Commit

Permalink
feature: add new target frameworks (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed Dec 15, 2019
1 parent 77525e7 commit a750a05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Splat/TargetFrameworkExtensions.cs
Expand Up @@ -29,6 +29,8 @@ internal static string GetTargetFrameworkName(string frameworkName)
{
switch (frameworkName)
{
case ".NETCoreApp,Version=v3.1":
return "netcoreapp3.1";
case ".NETCoreApp,Version=v3.0":
return "netcoreapp3.0";
case ".NETCoreApp,Version=v2.2":
Expand All @@ -42,6 +44,8 @@ internal static string GetTargetFrameworkName(string frameworkName)
case ".NETCoreApp,Version=v1.0":
return "netcoreapp1.0";

case ".NETStandard,Version=v2.1":
return "netstandard2.1";
case ".NETStandard,Version=v2.0":
return "netstandard2.0";
case ".NETStandard,Version=v1.6":
Expand All @@ -59,6 +63,8 @@ internal static string GetTargetFrameworkName(string frameworkName)
case ".NETStandard,Version=v1.0":
return "netstandard1.0";

case ".NETFramework,Version=v4.8":
return "net48";
case ".NETFramework,Version=v4.7.2":
return "net472";
case ".NETFramework,Version=v4.7.1":
Expand Down

0 comments on commit a750a05

Please sign in to comment.