-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a17495
commit c8f8e2b
Showing
5 changed files
with
152 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module Paket.FrameworkCompatibilitySpecs | ||
|
||
open System.IO | ||
open Paket | ||
open Paket.Domain | ||
open Chessie.ErrorHandling | ||
open FsUnit | ||
open NUnit.Framework | ||
open TestHelpers | ||
open Paket.Requirements | ||
|
||
|
||
(* | ||
Ensure that projects targeting NETFramework can properly add netstandard references in | ||
accordance with this chart | ||
--------------------------------------------------------------------------------- | ||
| Platform Name | Alias | | ||
|-------------------------------------------------------------------------------| | ||
| .NET Standard | netstandard | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 2.0 | | ||
|-------------------------------------------------------------------------------| | ||
| .NET Core | netcoreapp | → | → | → | → | → | → | 1.0 | 2.0 | | ||
|-------------------------------------------------------------------------------| | ||
| .NET Framework | net | → | 4.5 |4.5.1| 4.6 |4.6.1|4.6.2|vNext|4.6.1| | ||
--------------------------------------------------------------------------------- | ||
- https://docs.microsoft.com/en-us/dotnet/articles/standard/library | ||
*) | ||
|
||
|
||
[<Test>] | ||
let ``net46 should be compatible with netstandard13``() = | ||
(DotNetFramework FrameworkVersion.V4_6).IsCompatible (DotNetStandard DotNetStandardVersion.V1_3) | ||
|> shouldEqual true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters