Edit

Share via


MSB4246 diagnostic code

This article describes the MSB4246 error code.

Message text

MSB4246: SDK Resolver folder exists but without an SDK Resolver DLL or manifest file. This may indicate a corrupt or invalid installation of MSBuild. SDK resolver path:

Description

Modern MSBuild project files reference a project SDK by using the Sdk attribute. See Project SDKs To resolve the attribute value, MSBuild uses the SDK Resolver. If the resolver assemblies are not found in the expected installation folders, you get this error.

Resolution

Reinstall MSBuild or the .NET SDK, or repair your installation of Visual Studio. See Repair Visual Studio.

Applies to

All versions of MSBuild