Skip to content

Commit

Permalink
Merge pull request #1040 from shahaya/SearchLatestGacUtil
Browse files Browse the repository at this point in the history
Replace hard reference on gacutil path with automatic search for late…
  • Loading branch information
forki committed Dec 13, 2015
2 parents a1cdc1d + 1e88b78 commit 703fe12
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/FakeLib/GACHelper.fs
Expand Up @@ -3,6 +3,10 @@ module Fake.GACHelper

open System

/// Path to newest `gacutil.exe`
let gacutilToolPath = !! (sdkBasePath + "/**/gacutil.exe")
|> getNewestTool

/// GAC parameters
type GACParams =
{ /// (Required) Path to the gacutil
Expand All @@ -13,8 +17,7 @@ type GACParams =
WorkingDir : string }

let mutable GACUtil =
if isMono then "gacutil" else
ProgramFilesX86 @@ "Microsoft SDKs/Windows/v8.0A/bin/NETFX 4.0 Tools/gacutil.exe"
if isMono then "gacutil" else gacutilToolPath

/// GACutil default parameters
let GACDefaults =
Expand Down

0 comments on commit 703fe12

Please sign in to comment.