Hello @Thummala, Lavanya,
Welcome to Microsoft Q&A forum.
Please try following methods and let us know if this error disappears.
- Close VS > search for "Edit the system environment variables" in Windows Search box > open it, click Environment Variables option > in System variables list, search and select
Path
> Edit > make sure thatC:\Program Files\dotnet\
lists higher thanC:\Program Files (x86)\dotnet
. - Open VS Installer > Modify > Individual components > .NET > .NET SDK, make sure that it has been checked. Also please make sure that you have installed the corresponding workloads.
- Try to update Visual Studio.
- Try other suggestions shared here: The SDK ‘Microsoft.NET.Sdk’ specified could not be found in Visual Studio Community 2022 version 17.5.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.