Did a fresh installation of VS 2019 on my laptop and installed PHP tools for 2019. When loading a php-project that worked on another machine with VS2019, the PHP project is displayed as "(incompatible)" in the solution in explorer, and when I click to enhance the tree element it says "the application is not installed".

Tried un/re-installing PHP Tools. Also tried clearing MEF-cache, as suggested in another thread. Did not help.

    Hi SoftSmash,

    Please take a look into Output window in Visual Studio; there will be more details about the problem.

      Unfortunately there is no additional info. The output window only shows info for "source-control" but nothing else

      SoftSmash thank you for the screenshot; This looks like the extension is not installed or the installation is corrupted.

      • If you run Visual Studio Installer from the Windows Start menu, do you have any updates or errors? PHP Tools requires Visual Studio 2019, version 16.10 or newer.
      • Do you have PHP Tools Feedback in Help menu?

        Thanks for your response!
        I am on VS 2019 Community 16.11.20. It's a brand new installation of VS2019. Previously I had VS2017 on that machine, uninstalled it, and installed the latest VS2019.
        When I installed VS PHP, it required (I believe) ASP.net package addon. While downloading there was an issue, it seemed to have stopped. So I entered VS Installer. It showed an error with that package and recommended to "resume" the download, which it did, and seemed to have installed correctly.
        After that I ran VS PHP installer again. This time it did not require ASP.net anymore, and just installed the plugin - showed no errors, all looked good. But when I rand VS2019 and opened the solution, that's the error that I got.

        After this I tried to uninstall/reinstall VS PHP. That did not help. Then I tried to repair VS2019 through VS installer. That did no help resolving the issue either

        Yes, PHP Tools Feedback is available in Help menu.

          It looks alright..

          1/ May I ask you to send us feedback from "Help / PHP Tools Feedback" - it sends some additional information that might help to diagnose the problem.

          2/ Also please, it would help us to see the content of the project file:

          3/ And finally, isn't there "Solution" in the Visual Studio Output Window?

            Weird, I just clicked "Reload Project with Dependencies" in the projects drop-down menu, and that seemed to have fixed the problem for good! Now when I close VS and re-open VS with that same project, the project loads immediately!

            So I guess my issue is solved...

            Good! It seems Visual Studio may fail to load the project once, and then you just had to manually re-load it.

            I'm glad it's working for you now. Please let us know if there would be anything else we can help with.

              Write a Reply...