Jenkins Build issue for Dotnet Application

Jenkins setup: 2.387
We are trying to build Dotnet application on Jenkins getting below error .
Microsoft SDK 6 is installed
Error
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2828,5): error MSB3086: Task could not find “LC.exe” using the SdkToolsPath “” or the registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.6\WinSDK-NetFx40Tools-x86”. Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed [C:\Program Files\Jenkins\workspace\MPS Application\APPLICATION_LOGIC\APPLICATION_LOGIC.csproj]