I found the solution by going to Tools -> Import and export settings -> reset all settings -> then I reset both general and visual C++