title: Microsoft.Build Unable to Locate SDK or SDK Resolver
body: <p>I'm trying to automate some solution and project file updates using the <a href="https://www.nuget.org/packages/Microsoft.Build/" rel="nofollow noreferrer">Microsoft.Build</a> package, but have been encountering problems such as <code>the SDK Resolver folder exists but without an SDK Resolver DLL or manifest file.</code> I also got an error about not being able to find <code>Microsoft.Net.SDK</code> which unfortunately I didn't capture.</p>
  <p>Eventually I got a little farther by adding a reference to <a href="https://www.nuget.org/packages/Microsoft.Build.Runtime/" rel="nofollow noreferrer">Microsoft.Build.Runtime</a>, but then I got <code>Could not load SDK Resolver. A manifest file exists, but the path to the SDK Resolver DLL file could not be found</code>.</p>
  <p>All the answers I can find are about runtime errors in existing build systems rather than utilizing the MSBuild libraries directly.</p>
  <p>How can I use Microsoft.Build to access project files programmatically?</p>