Skip to content

Commit f321667

Browse files
timcassellAndreyAkinshin
authored andcommitted
Update MsBuildErrorMapper.
1 parent c4c2042 commit f321667

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/BenchmarkDotNet/Toolchains/DotNetCli/MsBuildErrorMapper.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ private static string Map(Capture capture)
6969
return "net472";
7070
case ".NETFramework,Version=v4.8":
7171
return "net48";
72+
case ".NETFramework,Version=v4.8.1":
73+
return "net481";
7274
case ".NETCoreApp,Version=v2.0":
7375
return "netcoreapp2.0";
7476
case ".NETCoreApp,Version=v2.1":
@@ -83,6 +85,12 @@ private static string Map(Capture capture)
8385
return "net5.0";
8486
case ".NETCoreApp,Version=v6.0":
8587
return "net6.0";
88+
case ".NETCoreApp,Version=v7.0":
89+
return "net7.0";
90+
case ".NETCoreApp,Version=v8.0":
91+
return "net8.0";
92+
case ".NETCoreApp,Version=v9.0":
93+
return "net9.0";
8694
default:
8795
return capture.Value; // we don't want to throw for future versions of .NET
8896
}

0 commit comments

Comments
 (0)