Forum Discussion

KawtharZaraket's avatar
KawtharZaraket
Copper Contributor
Jun 23, 2023

My Microsoft VS Code v1.79 isn't detecting .NET SDK 7.0

I need help. My Microsoft VS Code isn't detecting .NET SDK, and I am in need of it detecting it so that I can continue a module that teaches me the basics of VS Code. I've tried installing different versions of .NET SDK and Microsoft VS Code, but none were working! I need help immediately so that I can be able to continue learning on Microsoft Learn.

Note: I'm sorry if this is not the right place to talk about this; I'm still new here.

  • ow6nmusk's avatar
    ow6nmusk
    Brass Contributor

    Hello KawtharZaraket,

     

    I'm sorry to hear that you're experiencing trouble with Microsoft VS Code not detecting the .NET SDK 7.0. While I'm not officially affiliated with Microsoft, I'd be happy to try and help you troubleshoot the issue.

     

    First, let's make sure you have the necessary components installed in the correct order. Here are a few steps you can try:

     

    1. Make sure you have the latest version of Visual Studio Code installed. You mentioned you're using v1.79, but it's always a good idea to have the most up-to-date version.

     

    2. Next, ensure that you have the .NET SDK 7.0 installed on your machine. You can download it from the official Microsoft website.

     

    3. After installing the SDK, open Visual Studio Code and go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).

     

    4. Search for the "C# extension" and install it. This extension provides C# language support and should detect the .NET SDK on your machine.

     

    5. Once the extension is installed, you may need to reload Visual Studio Code for the changes to take effect.

     

    If these steps don't resolve the issue, there could be some other factors at play. It's worth checking if there are any error messages or logs that could provide more information about what's going wrong. Additionally, you might want to seek help from the Microsoft community forums or Stack Overflow, where you can find experts who can assist you with specific technical issues.

     

    Remember, I'm just a technology enthusiast and not an official Microsoft representative, but I hope these suggestions help you get back on track with your learning. Good luck, and feel free to ask if you have any further questions!

     

    Regards,

    ow6nmusk 

    • KawtharZaraket's avatar
      KawtharZaraket
      Copper Contributor

      (Sorry for editing this reply one more time)

       

      I found the error and it was because the C# Extension wasn't installed properly from last time, but now, I installed it and refreshed Microsoft VS Code. However, it still wasn't detecting .NET SDK 7.0.

Resources