Hello, I am unable to Publish PHP Project. I tried "File System" publish and "Web Deploy". I am getting an error:
------ Publish started: Project: iTrain, Configuration: Release Any CPU ------
Error: Object reference not set to an instance of an object.
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 0 failed, 0 skipped ==========
I noticed another issue regarding Publishing "Publish from VS 2019 to iis" url: https://community.devsense.com/d/260-publish-from-vs-2019-to-iis
I installed the PHP Tools version: 1.40.11963 - but I am still getting the error.
I should point out that I was getting JSON formatting error when using Composer, but I think that was not-related to this Publish issue. I had changed Composer version and that problem went away.
I am new to PHP Tools for Visual Studio, I just installed the trial version, but I've been using VS for many years. I tested deployment of built-in ASP.NET/MVC/C# web app and it works OK.
My Visual Studio version is: 16.8.3 Community Edition.
Any help with this would be greatly appreciated.