Skip to content

Commit

Permalink
Try to work around dotnet/sdk#40655
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy committed Jan 8, 2025
1 parent 8ebe2d7 commit 8469f8a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/test/Fake.Core.IntegrationTests/SimpleHelloWorldTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,19 @@ let tests =
prepare scenario
let scenarioPath = resolvePath scenario ""
// dotnet tool install --version 5.19.0-alpha.local.1 fake-cli --add-source /e/Projects/FAKE/release/dotnetcore/

// Work around https://github.com/dotnet/sdk/issues/40655 by specifying the tool manifest explicitly
let manifestPath = Path.Combine(scenarioPath, ".config", "dotnet-tools.json")

[ yield!
[ "tool"
"install"
"--prerelease"
"fake-cli"
"--add-source"
releaseDotnetCoreDir ] ]
releaseDotnetCoreDir
"--tool-manifest"
manifestPath ] ]
|> runDotNetRaw
|> CreateProcess.withWorkingDirectory scenarioPath
|> CreateProcess.ensureExitCode
Expand Down

0 comments on commit 8469f8a

Please sign in to comment.