Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hard reference on gacutil path with automatic search for late… #1040

Merged
merged 1 commit into from
Dec 13, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/app/FakeLib/GACHelper.fs
Original file line number Diff line number Diff line change
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