Skip to content

Commit 5c8ca18

Browse files
committed
Specify MsBuild path
1 parent 04d5e2c commit 5c8ca18

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

appveyor.yml

-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
init:
22
- git config --global core.autocrlf input
3-
environment:
4-
VisualStudioVersion: 12.0
5-
6-
before_build:
7-
- cmd: set PATH=C:\Program Files (x86)\MSBuild\12.0\Bin;%PATH%
8-
93
build_script:
104
- cmd: build.cmd
115
test: off

build.cmd

-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@ IF NOT EXIST build.fsx (
1616
packages\FAKE\tools\FAKE.exe init.fsx
1717
)
1818

19-
set PATH=C:\Program Files (x86)\MSBuild\12.0\Bin;%PATH%
20-
21-
msbuild QuickGraph.sln
22-
2319
packages\FAKE\tools\FAKE.exe build.fsx %*

build.fsx

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ open Fake.AssemblyInfoFile
99
open Fake.ReleaseNotesHelper
1010
open System
1111
open System.IO
12+
open System.Configuration
1213
#if MONO
1314
#else
1415
#load "packages/SourceLink.Fake/tools/Fake.fsx"
@@ -60,6 +61,8 @@ let gitName = "QuickGraph"
6061
// The url for the raw files hosted
6162
let gitRaw = environVarOrDefault "gitRaw" "https://raw.github.com/YaccConstructor"
6263

64+
do setEnvironVar "MSBuild" (ProgramFilesX86 @@ @"\MSBuild\12.0\Bin")
65+
6366
// --------------------------------------------------------------------------------------
6467
// END TODO: The rest of the file includes standard build steps
6568
// --------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)