Could not load SDK Resolver. A manifest file exists, but the path to the SDK Resolver DLL file could not be found
Operating System: (Windows or Linux or MacOS)
Windows
DocFX Version Used:
2.55
Template used: (default or statictoc or contain custom template)
Steps to Reproduce:
- create project asp.net core web api in VS2019
- addde docfx.console package to the solution
- build the solution ,
Expected Behavior:
Documentation should be generated
Actual Behavior: Error returned - Could not load SDK Resolver. A manifest file exists, but the path to the SDK Resolver DLL file could not be found. Manifest file path 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\SdkResolvers\Microsoft.Build.NuGetSdkResolver\Microsoft.Build.NuGetSdkResolver.xml'
i was able to overcome this error by running the following command from PS
Start-Process "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" -ArgumentList 'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" --passive --add Microsoft.VisualStudio.Component.NuGet.BuildTools' -Wait -PassThru