-
I just attempted to update docfx from the command line and got the error below. On a different machine I uninstalled docfx and then attempted a clean install and got the same NullReferenceException. It looks like perhaps an issue with Nuget? Any ideas on how can I get this installed from the command line to be globally accessible as before? Thank you. C:\Windows\system32>dotnet tool update docfx --global |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to reinstall docfx by specifying the source like so: dotnet tool install docfx -g --source "https://api.nuget.org/v3/index.json". Previously I'd been experimenting with nuget and custom package sources and it's possible something got misconfigured there along the way which caused this error. Hopefully this helps someone that runs into similar error messages. |
Beta Was this translation helpful? Give feedback.
I was able to reinstall docfx by specifying the source like so: dotnet tool install docfx -g --source "https://api.nuget.org/v3/index.json". Previously I'd been experimenting with nuget and custom package sources and it's possible something got misconfigured there along the way which caused this error. Hopefully this helps someone that runs into similar error messages.