Skip to content

Commit

Permalink
DotNetCore is not PCL
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Mar 26, 2019
1 parent 377994b commit 7b939eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Paket.Core/Versioning/FrameworkHandling.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1468,9 +1468,9 @@ module SupportCalculation =
| XamariniOS
| XamarinTV
| XamarinWatch
| XamarinMac -> false
| DotNetCoreApp _
| DotNetStandard _
| XamarinMac -> false
| Tizen _ -> failwithf "Unexpected framework while trying to resolve PCL Profile"
| _ -> true)
if minimal.Length > 0 then
Expand Down
3 changes: 2 additions & 1 deletion tests/Paket.Tests/Nuspec/NuspecSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ let ``can detect framework assemblies for Microsoft.Framework.Logging``() =
nuspec.FrameworkAssemblyReferences.[0].FrameworkRestrictions
|> shouldEqual
(makeOrList
[FrameworkRestriction.Exactly(DotNetFramework(FrameworkVersion.V4_5))])
[FrameworkRestriction.Exactly(DotNetFramework(FrameworkVersion.V4_5))
FrameworkRestriction.Exactly(DotNetCoreApp(DotNetCoreAppVersion.V1_0))])

let name,_,_restrictions = nuspec.Dependencies.Value.[0]
name |> shouldEqual (PackageName "Microsoft.Framework.DependencyInjection.Interfaces")
Expand Down

0 comments on commit 7b939eb

Please sign in to comment.