Skip to content

Commit

Permalink
Trying to load the FSharp.Core with AssemblyResolve (only the portabl…
Browse files Browse the repository at this point in the history
…e version) - references issue fsprojects#178
  • Loading branch information
forki committed Dec 6, 2012
1 parent 8dfe055 commit dc6dd9e
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -20,9 +20,7 @@ open Utilities.Caching
[<AutoOpen>]
module AssemblyResolver =
let handler = ResolveEventHandler(fun _ args ->
let simpleAssemName = args.RequestingAssembly.FullName.Split(',').[0]

if simpleAssemName = "FSharp.Core" && AssemblyName(args.Name).Version.ToString() = "2.3.5.0" then
if args.Name = "FSharp.Core" && AssemblyName(args.Name).Version.ToString() = "2.3.5.0" then
let dir = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ProgramFilesX86)
let (++) a b = System.IO.Path.Combine(a,b)
try
Expand Down

0 comments on commit dc6dd9e

Please sign in to comment.