I have installed the extension on Visual Studio 2022 Community. After create any PHP project, it doesn't load (It opens the default empty VS2022 window). When I try to load it manually with the phpproj file, I get this error:

In English, it says that the specified Net SDK could not been found. Sdks\Devsense.Php.Sdk\Sdk.props. The file exists in that location. The Net SDK is installed too.

I have the same setup on another computer and it works correctly. I've search on internet but I haven't seen anyone else with this issue. I can open the folder and use the editor features, but It has none of the server or debug options. The version I have installed is the lates one, 1.82.

    JavierDelgadoMerayo Thank you for the question.

    This is caused by missing or broken ".NET SDK" component from Visual Studio installer. Please make sure, .NET SDK is selected and installed in Visual Studio Installer.

      JakubMisek I checked everything and reinstalled the NET Sdk. I tried several version, but it says the same when I attempt to open the project. I installed it in another PC with a clean install, and the result is the same. The PC where it works doesn't have anything special neither and I use the same version as the others. It is a very weird error.

        JavierDelgadoMerayo thank you for trying all these things, I appreciate it. Sadly I don't know the specific reason why this happens, but I'll dig through the other discussions - I'm sure someone a few years ago was posting the specific reason and their solution.

          May I ask you to check your PATH environment variable? (somewhere in system management -> environment variables); sometimes it gets corrupted

            Write a Reply...