-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Version numbers and behavior are inconsistent between the releases page and NuGet (dotnet tool) #9678
Comments
What's the result when you run the following commands.
It's expected to be If other exe path are displayed. It need to confirm PATH settings. |
Thanks. You were right, I had a previously installed version of docfx via chocolatey that I didn't recall. >where docfx
C:\ProgramData\chocolatey\bin\docfx.exe
C:\Users\shad\.dotnet\tools\docfx.exe I had to fuss with it for awhile because the uninstall command for chocolatey failed, then I had to delete the files, install it again, and uninstall it again to clean up everything. But after doing that and reinstalling the latest version, I am now seeing the correctly reported version from the command prompt. On a side note, we are having some issues upgrading due to missing command options, some deprecated dependencies, and plugins that no longer function. apache/lucenenet#911. Is there an upgrade guide, or could you please chime in to help get us through some of the hoops of upgrading? |
Describe the bug
A clear and concise description of what the bug is.
Behavior and version numbering is different between downloading the dotnet tool and downloading the compiled release on the releases page.
To Reproduce
Steps to reproduce the behavior:
dotnet tool install -g docfx
. It says it installed the latest version (in my case 2.75.2)docfx --version
. It displays the version as 2.56.2.docfx --version
. It displays 2.75.2+fe673ecea2ac444a4fd480e6cfcf605c78614385.docfx --help
in each environment. The download from the Releases page displays much more detail than the dotnet tool.Dotnet Tool
Executable from 2.75.2 release
Expected behavior
The behavior of the tools is the same and they report the same version number. It is unclear what version the dotnet tool is. It appears to be older because it doesn't even display the same --help menu that the zip file from the Releases page does. If it at least reported the correct version number, I wouldn't worry about it.
Context (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: