You’re probably missing some VS components. Open the installer again and make sure these are enabled:
- Desktop development with .NET
- Desktop development with C++
- Game development with C++
The windows 8.1 sdk also needs to be enabled under individual components.