Visual studio 2022 by default opens files which are opened days ago not the last opened files when solution is loaded.
Also can't find .suo file in .vs folder. To check if after removing this file i'll get the files
This was happening because of two version files being in .vs folder. I deleted .suo
file of older version and issue resolved.
Link for anyone wandering where to find .suo
file