File: FrameworkPackages\FrameworkPackages.netcoreapp2.2.cs
Web Access
Project: src\src\sdk\src\Tasks\Microsoft.NET.Build.Tasks\Microsoft.NET.Build.Tasks.csproj (Microsoft.NET.Build.Tasks)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Microsoft.ComponentDetection.Detectors.NuGet;

#nullable disable

using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks;

/// <summary>
/// Framework packages for .NETCoreApp,Version=v2.2.
/// </summary>
internal partial class FrameworkPackages
{
    internal static class NETCoreApp22
    {
        // .NETCore 2.2 was the same as .NETCore 2.1
        internal static FrameworkPackages Instance { get; } = new(NetCoreApp22, FrameworkNames.NetCoreApp, NETCoreApp21.Instance);

        internal static void Register() => FrameworkPackages.Register(Instance);
    }
}