Closed bdovaz closed 7 months ago
How do you install the tool? It should be transparent if you have a more recent version installed.
Following README.md:
https://github.com/Ellerbach/docfx-companion-tools#dotnet-tool
Then it should definitely work fine:
As you can see, .NET 7.0 installed, installing the tool thru dotnet tool and running it
And work same way on a Linux box but you have to add the --roll-forward Major
option:
More info here: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet#rollforward
But you did not get the output from dotnet --list-runtimes
.
I'm sure you have the .NET 6 runtime installed as well besides the .NET 7 runtime.
dotnet --version
outputs (I think) the most recent version you have
dotnet --version
outputs (I think) the most recent version you have
Yes, you are correct. Now, for the Linux side, I only have 1:
Just use ~/.dotnet/tools/DocLinkChecker --roll-forward Major
(adjust for the path if any) and you'll be good to go
PR #46 created to bring clarification in the main README.
Let me know if this is clear enough.
That's very good clarification, thank you @Ellerbach
.NET 8 has been released very recently and it is obvious but .NET 7 why not?
Everything that manages our pipeline targets .NET 7 and just for this tool I have to install the .NET 6 runtime.
Would you accept a PR that targets .NET 7 (and .NET 8 if you want)?
Thanks!
The error: