Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #121 from matthid/useRuntimeClrRoot

use ClrRoot of current RuntimeEnvironment instead of hardcoded 4.0 on mono
  • Loading branch information...
commit d603ceee1d755170dd932d4f9d9cfbb2afd012ea 2 parents 5276da1 + 60f0946
@funnelweb funnelweb authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/fsharp/build.fs
View
6 src/fsharp/build.fs
@@ -2437,11 +2437,9 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
[]
#else
// When running on Mono we lead everyone to believe we're doing .NET 4.0 compilation
- // by default.
+ // by default. Why? See https://github.com/fsharp/fsharp/issues/99
if runningOnMono then
- let sysDir = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
- let mono40SysDir = Path.Combine(Path.GetDirectoryName sysDir, "4.0")
- [mono40SysDir]
+ [System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()]
else
try
match tcConfig.resolutionEnvironment with
Please sign in to comment.
Something went wrong with that request. Please try again.