Hello @Tanzeela Fatima
Welcome to Microsoft Q&A forum.
If you want to build a .NET application in Visual Studio Code, you'll firstly need to install the .NET SDK.
Please check the following steps:
1.Download and install the SDK.
https://dotnet.microsoft.com/en-us/download/dotnet/9.0
2.Add SDK's path to user or system environment variables.
Navigate to SDK location(e.g:*C:\program files\dotnet\sdk{version}*) and add it to env variables to be recognized by cmd.
3.Open a terminal and run the following command to see which versions of the .NET SDK are currently installed.
dotnet --list-sdks
Docs Referred:
Build a NET application in Visual Studio Code
How to check that .NET is already installed
Please feel free to let us know the results.
Best Regards,
Dou
If the answer is helpful, please click "Accept Answer" and upvote it.
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.