Open IlIlIllIllI opened 10 months ago
Any thoughts on this?
I've also reproduced this issue on another coworker's computer, same environment (Windows, x64)
Actually, this also fails with Cake 3.0.0.
Maybe something is happening elsewhere and this isn't a Cake issue?
Prerequisites
Cake runner
Cake .NET Tool
Cake version
4.0.0
Operating system
Windows
Operating system architecture
64-Bit
CI Server
No response
What are you seeing?
Cake is calling .NET 8 version of a referenced tool (ReportGenerator v5.2.0) when it should be using the pinned version of .NET in our
global.json
file.What is expected?
Cake should run the
GenereateReport
task successfully, and report should be generated (depending on the coverage files provided in thecoverage
folder).Steps to Reproduce
Prereqs:
Setup:
.config/dotnet-tools.json
build.cake
build.ps1
global.json
Execute:
.\build.ps1 --target=GenerateReport --verbosity=diagnostic
Output log