docfx icon indicating copy to clipboard operation
docfx copied to clipboard

Could not load SDK Resolver. A manifest file exists, but the path to the SDK Resolver DLL file could not be found

Open telmocruz opened this issue 6 years ago • 1 comments

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:

  1. create project asp.net core web api in VS2019
  2. addde docfx.console package to the solution
  3. 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'

telmocruz avatar Jun 24 '20 11:06 telmocruz

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

telmocruz avatar Jun 24 '20 19:06 telmocruz