@echo off

cls

.nuget\nuget.exe install FAKE -OutputDirectory packages -ExcludeVersion -Version 2.17.9
.nuget\nuget.exe install SourceLink.Fake -OutputDirectory packages -ExcludeVersion
.nuget\nuget.exe install FSharp.Formatting -OutputDirectory packages -ExcludeVersion

SET TARGET="All"

IF NOT [%1]==[] (set TARGET="%1")

"packages\FAKE\tools\FAKE.exe" "build.fsx" "target=%TARGET%"
@echo off

cls

.nuget\nuget.exe install FAKE -OutputDirectory packages -ExcludeVersion
.nuget\nuget.exe install SourceLink.Fake -OutputDirectory packages -ExcludeVersion
.nuget\nuget.exe install FSharp.Formatting -OutputDirectory packages -ExcludeVersion

SET TARGET="All"

IF NOT [%1]==[] (set TARGET="%1")

"packages\FAKE\tools\FAKE.exe" "build.fsx" "target=%TARGET%"
Remove version from FAKE install.
Remove version from FAKE install.

Clean install solved the problem.
