I get this error "Error occurred in deployment step 'Retract Solution' The language-neutral solution package was not found." when deploying or retracting a SharePoint 2019 solution using Visual Studio 2022.
I checked the Farm solutions in SharePoint Central Administration and I can't find this solution, Also I have closed and restarted the Visual Studio. Moreover, I have performed IISREST to no avail!
How can I solve this error "The language-neutral solution package was not found" to can deploy my solution in SharePoint 2019?