Skip to content

Commit

Permalink
Locate MSBuild in the build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Nov 10, 2024
1 parent 9c5fc0a commit 0023fe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions eng/Farkle.Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<PackageReference Include="Fake.DotNet.Cli" Version="$(FakeVersion)" />
<PackageReference Include="Fake.DotNet.FsFormatting" Version="$(FakeVersion)" />
<PackageReference Include="Fake.Tools.Git" Version="$(FakeVersion)" />
<PackageReference Include="Microsoft.Build.Locator" Version="1.7.8" />
<PackageReference Include="MSBuild.StructuredLogger" Version="2.2.374" />
<PackageReference Include="Scriban" Version="5.11.0" />
</ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions eng/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ open Fake.IO
open Fake.IO.FileSystemOperators
open Fake.IO.Globbing.Operators
open Fake.Tools.Git
open Microsoft.Build.Locator
open Scriban
open System
open System.IO
open System.Text.RegularExpressions

MSBuildLocator.RegisterDefaults() |> ignore

Environment.GetCommandLineArgs()
|> Array.toList
|> Context.FakeExecutionContext.Create false "build.fs"
Expand Down

0 comments on commit 0023fe9

Please sign in to comment.