Reputation: 1363
Created a new fsharp project from Visual Studio Code (Version 1.12.2) while trying to build it with FAKE it is showing this error "Cannot open assembly '.paket/paket.bootstrapper.exe': No such file or directory."
I checked the .paket folder of my project the paket.bootstrapper.exe is missing in there. I using ionide 2.25.14, ionide-fake 1.2.3 and ionide-Paket 1.6.3.
I tried building the project with msbuild and it is building without any errors.
This is how the build target is defined in the build.fsx.
Target "Build" (fun _ ->
// compile all projects below src/app/
MSBuildDebug buildDir "Build"
appReferences |> Log "AppBuild-Output: "
)
Downloading paket.bootstrapper.exe from github and adding in to the .packet folder resolved the issue.
Upvotes: 2
Views: 425
Reputation: 109
The simplest, and maybe the best thing to do is to download paket.bootstrapper.exe
if it didn't get generated along with your project.
Your build script is trying to run paket.bootstrapper.exe
, but can't find it, likely because your project was generated without one. If you already have a folder named .paket
, then your project was likely generated with a paket.exe
, instead.
The only thing paket.bootstrapper.exe
does is download the latest version of paket.exe
. Your build script is just trying to automate keeping your package manager up to date.
Upvotes: 0