If you would rather do things the old fashioned way, without using a package manager, I have recorded a 2020 video stream tutorial where I show how to get Visual Studio set up and start programming ...
This is a template for OpenGL projects in C++ designed for use with Visual Studio Code. It uses the GLAD and GLFW libraries, based on the tutorials at Learn OpenGL.