From bcaba9299d9449bb44eb4aa1cd0b6c869ef6ecf2 Mon Sep 17 00:00:00 2001 From: Gauthier Segay Date: Mon, 18 Nov 2024 19:57:56 +0100 Subject: [PATCH] Fix for issue #4278, there was a warning on this incomplete match expression. --- src/Paket.Core/Versioning/FrameworkHandling.fs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Paket.Core/Versioning/FrameworkHandling.fs b/src/Paket.Core/Versioning/FrameworkHandling.fs index 8d3b22f61f..8f93d4fef2 100644 --- a/src/Paket.Core/Versioning/FrameworkHandling.fs +++ b/src/Paket.Core/Versioning/FrameworkHandling.fs @@ -971,6 +971,12 @@ type FrameworkIdentifier = | DotNet8WithOs Net8Os.MacOs -> [ DotNetFramework FrameworkVersion.V8; XamarinMac ] | DotNet8WithOs Net8Os.TvOs -> [ DotNetFramework FrameworkVersion.V8; XamarinTV ] | DotNet8WithOs Net8Os.WatchOs -> [ DotNetFramework FrameworkVersion.V8; XamarinWatch ] + // remark: for now, os versions for net 9 is alias to 8 + | DotNet9WithOs Net8Os.Android -> [ DotNetFramework FrameworkVersion.V9; MonoAndroid MonoAndroidVersion.V12 ] + | DotNet9WithOs Net8Os.IOs -> [ DotNetFramework FrameworkVersion.V9; XamariniOS ] + | DotNet9WithOs Net8Os.MacOs -> [ DotNetFramework FrameworkVersion.V9; XamarinMac ] + | DotNet9WithOs Net8Os.TvOs -> [ DotNetFramework FrameworkVersion.V9; XamarinTV ] + | DotNet9WithOs Net8Os.WatchOs -> [ DotNetFramework FrameworkVersion.V9; XamarinWatch ] | DotNet6Windows Net6WindowsVersion.V7_0 -> [ DotNetFramework FrameworkVersion.V6 ] | DotNet6Windows Net6WindowsVersion.V8_0 -> [ DotNetFramework FrameworkVersion.V6; DotNet6Windows Net6WindowsVersion.V7_0 ] | DotNet6Windows Net6WindowsVersion.V10_0_17763_0 -> [ DotNetFramework FrameworkVersion.V6; DotNet6Windows Net6WindowsVersion.V8_0 ] @@ -987,6 +993,11 @@ type FrameworkIdentifier = | DotNet8Windows Net8WindowsVersion.V10_0_18362_0 -> [ DotNetFramework FrameworkVersion.V8; DotNet8Windows Net8WindowsVersion.V10_0_17763_0 ] | DotNet8Windows Net8WindowsVersion.V10_0_19041_0 -> [ DotNetFramework FrameworkVersion.V8; DotNet8Windows Net8WindowsVersion.V10_0_18362_0 ] // remark: for now, windows version for net 9 is alias to 8 + | DotNet9Windows Net8WindowsVersion.V7_0 -> [ DotNetFramework FrameworkVersion.V8; ] + | DotNet9Windows Net8WindowsVersion.V8_0 -> [ DotNetFramework FrameworkVersion.V8; DotNet9Windows Net8WindowsVersion.V7_0] + | DotNet9Windows Net8WindowsVersion.V10_0_17763_0 -> [ DotNetFramework FrameworkVersion.V8; DotNet9Windows Net8WindowsVersion.V8_0] + | DotNet9Windows Net8WindowsVersion.V10_0_18362_0 -> [ DotNetFramework FrameworkVersion.V8; DotNet9Windows Net8WindowsVersion.V10_0_17763_0 ] + | DotNet9Windows Net8WindowsVersion.V10_0_19041_0 -> [ DotNetFramework FrameworkVersion.V8; DotNet9Windows Net8WindowsVersion.V10_0_18362_0 ] | DotNetStandard DotNetStandardVersion.V1_0 -> [ ] | DotNetStandard DotNetStandardVersion.V1_1 -> [ DotNetStandard DotNetStandardVersion.V1_0 ] | DotNetStandard DotNetStandardVersion.V1_2 -> [ DotNetStandard DotNetStandardVersion.V1_1 ] @@ -1024,6 +1035,7 @@ type FrameworkIdentifier = | XCode XCodeVersion.V10 -> [ DotNetStandard DotNetStandardVersion.V1_6 ] | XCode XCodeVersion.V11 -> [ DotNetStandard DotNetStandardVersion.V1_6 ] | Unsupported _ -> [] + module FrameworkDetection =