-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Expand file tree
/
Copy pathTfm.cs
More file actions
26 lines (23 loc) · 951 Bytes
/
Tfm.cs
File metadata and controls
26 lines (23 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.AspNetCore.Server.IntegrationTesting
{
public static class Tfm
{
public const string Net462 = "net462";
public const string NetCoreApp20 = "netcoreapp2.0";
public const string NetCoreApp21 = "netcoreapp2.1";
public const string NetCoreApp22 = "netcoreapp2.2";
public const string NetCoreApp30 = "netcoreapp3.0";
public const string NetCoreApp31 = "netcoreapp3.1";
public const string Net50 = "net5.0";
public const string Net60 = "net6.0";
public const string Net70 = "net7.0";
public const string Default = Net70;
public static bool Matches(string tfm1, string tfm2)
{
return string.Equals(tfm1, tfm2, StringComparison.OrdinalIgnoreCase);
}
}
}