Skip to content

Commit

Permalink
Restore packages in solution
Browse files Browse the repository at this point in the history
Note that the project path can’t have spaces or `RestorePackages` will
error out
  • Loading branch information
jwood803 committed Sep 23, 2015
1 parent 9a26760 commit 7354772
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions FakeDemo/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ Target "Test" (fun _ ->
)

Target "Build-Pcl" (fun _ ->
"FakeDemo/packages.config"
|> RestorePackage (fun defaults -> defaults)
RestorePackages()

!! "FakeDemo.csproj"
|> MSBuild "FakeDemo/bin/Debug" "Build" [ ("Configuration", "Debug"); ("Platform", "Any CPU") ]
Expand Down

0 comments on commit 7354772

Please sign in to comment.