-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #157 -- should not allow Framework 4 / F# 3.1 combination in pr…
…oject properties Improves FSharp.Core selection given a specific .Net Framework. When a new target framework is selected if the currently selected fsharp.core is not compatible with the newly selected .net framework then it is selected according to the following: .NetFrameworks 2.0, 3.0 and 3.5 select fsharp.core, v 2.3.0.0 .NetFramework 4.0 selects fsharp.core v 4.3.0.0 .NetFramework 4.5, 4.51, 4.52 and 4.6 selects fsharp.core 4.4.0.0 If a compatible fsharp.core is selected when a new .netframework is selected then the selection remains unchanged. .NetFramework 4.5, 4.51, 4.52 and 4.6 are compatible with fsharp.core and 4.3.1.0, 4.4.0.0 Note: 1. Internal build "copydependencies.proj" needs to be updated with a new SupportedRuntimes.xml location. 2. OSS supportedruntimes.xml needs to be manually copied to the %ProgramFiles(x86)%\Microsoft SDKs\F#\4.0\Framework\v4.0 directory. until OSS vsix installer is updated to integrate the compiler into VS.
- Loading branch information
1 parent
ff4a680
commit 584093c
Showing
5 changed files
with
54 additions
and
7 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
30 changes: 30 additions & 0 deletions
30
vsintegration/src/vs/FsPkgs/FSharp.Project/SupportedRuntimes/SupportedRuntimes.xml
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,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<TargetFrameworks> | ||
<TargetFramework Identifier=".NETFramework" Version="v2.0"> | ||
<Assembly Version="2.3.0.0" Description="F# 3.0 (FSharp.Core, 2.3.0.0)"/> | ||
</TargetFramework> | ||
<TargetFramework Identifier=".NETFramework" Version="v4.0"> | ||
<Assembly Version="4.3.0.0" Description="F# 3.0 (FSharp.Core, 4.3.0.0)"/> | ||
</TargetFramework> | ||
<TargetFramework Identifier=".NETFramework" Version="v4.5"> | ||
<Assembly Version="4.3.1.0" Description="F# 3.1 (FSharp.Core, 4.3.1.0)"/> | ||
<Assembly Version="4.4.0.0" Description="F# 4.0 (FSharp.Core, 4.4.0.0)"/> | ||
</TargetFramework> | ||
<TargetFramework Identifier=".NETPortable" Profile="Profile47"> | ||
<Assembly Version="2.3.5.0" Description="F# 3.0 (FSharp.Core, 2.3.5.0)"/> | ||
<Assembly Version="2.3.5.1" Description="F# 3.1 (FSharp.Core, 2.3.5.1)"/> | ||
<Assembly Version="3.47.4.0" Description="F# 4.0 (FSharp.Core, 3.47.4.0)"/> | ||
</TargetFramework> | ||
<TargetFramework Identifier=".NETPortable" Profile="Profile7"> | ||
<Assembly Version="3.3.1.0" Description="F# 3.1 (FSharp.Core, 3.3.1.0)"/> | ||
<Assembly Version="3.7.4.0" Description="F# 4.0 (FSharp.Core, 3.7.4.0)"/> | ||
</TargetFramework> | ||
<TargetFramework Identifier=".NETPortable" Profile="Profile78"> | ||
<Assembly Version="3.78.3.1" Description="F# 3.1 (FSharp.Core, 3.78.3.1)"/> | ||
<Assembly Version="3.78.4.0" Description="F# 4.0 (FSharp.Core, 3.78.4.0)"/> | ||
</TargetFramework> | ||
<TargetFramework Identifier=".NETPortable" Profile="Profile259"> | ||
<Assembly Version="3.259.3.1" Description="F# 3.1 (FSharp.Core, 3.259.3.1)"/> | ||
<Assembly Version="3.259.4.0" Description="F# 4.0 (FSharp.Core, 3.259.4.0)"/> | ||
</TargetFramework> | ||
</TargetFrameworks> |
584093c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ref #226 #157