NuGetFrameworks.cs 763 B

123456789101112131415161718
  1. // Copyright (c) .NET Foundation and contributors. All rights reserved.
  2. // Licensed under the MIT license. See LICENSE file in the project root for full license information.
  3. using NuGet.Frameworks;
  4. namespace Microsoft.DotNet.Tools.Tests.Utilities
  5. {
  6. // This class is for frameworks that aren't yet in NuGet's FrameworkConstants.CommonFrameworks class
  7. public static class NuGetFrameworks
  8. {
  9. public static readonly NuGetFramework NetCoreApp21
  10. = new NuGetFramework(FrameworkConstants.FrameworkIdentifiers.NetCoreApp, new Version(2, 1, 0, 0));
  11. public static readonly NuGetFramework NetCoreApp22
  12. = new NuGetFramework(FrameworkConstants.FrameworkIdentifiers.NetCoreApp, new Version(2, 2, 0, 0));
  13. }
  14. }