Skip to content

Commit c516585

Browse files
committed
Try to work around dotnet/sdk#40655
1 parent 0a1f151 commit c516585

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/test/Fake.Core.IntegrationTests/SimpleHelloWorldTests.fs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,19 @@ let tests =
4747
prepare scenario
4848
let scenarioPath = resolvePath scenario ""
4949
// dotnet tool install --version 5.19.0-alpha.local.1 fake-cli --add-source /e/Projects/FAKE/release/dotnetcore/
50+
51+
// Work around https://github.com/dotnet/sdk/issues/40655 by specifying the tool manifest explicitly
52+
let manifestPath = Path.Combine(scenarioPath, ".config", "dotnet-tools.json")
53+
5054
[ yield!
5155
[ "tool"
5256
"install"
5357
"--prerelease"
5458
"fake-cli"
5559
"--add-source"
56-
releaseDotnetCoreDir ] ]
60+
releaseDotnetCoreDir
61+
"--tool-manifest"
62+
manifestPath ] ]
5763
|> runDotNetRaw
5864
|> CreateProcess.withWorkingDirectory scenarioPath
5965
|> CreateProcess.ensureExitCode

0 commit comments

Comments
 (0)