You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to run any docfx command other than docfx init, it fails stating that it cannot find any SDKs.
To Reproduce
Steps to reproduce the behavior:
docfx init
docfx
<< error >>
❯ docfx
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Completed in 204.5029 milliseconds
Error: Failed to find an appropriate version of .NET Core MSBuild. Call to hostfxr_resolve_sdk2 failed. There may be more details in stderr.
Expected behavior
To run docfx commands to build documentation.
Context (please complete the following information):
❯ docfx
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Completed in 204.5029 milliseconds
Error: Failed to find an appropriate version of .NET Core MSBuild. Call to hostfxr_resolve_sdk2 failed. There may be more details in stderr.
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to run any docfx command other than
docfx init
, it fails stating that it cannot find any SDKs.To Reproduce
Steps to reproduce the behavior:
docfx init
docfx
Expected behavior
To run docfx commands to build documentation.
Context (please complete the following information):
Additional context
dotnet --list-sdks output:
Full error message:
The text was updated successfully, but these errors were encountered: