I have reached out to the visual studio team, this is deemed to be a vision compatibility issue, please follow below solution-
In the project generated csproj files says
<UnityProjectGeneratorVersion>2.0.16</UnityProjectGeneratorVersion>
and confirmed in the manigfest.json :
"com.unity.ide.visualstudio": "2.0.16",
So this project is using a legacy VS Editor package. Upgrading to the latest 2.0.22 should solve this issue.