An error occured while trying to generate project files

When I try to generate project or generate new C++ class, it says this error.
Some other people have been having this too, but I never solved it.

Any help? My visual studio is basicly useless right now.
EDIT:
I am going to custom install VS again with C++ compiler

Hello Derzo,

You shouldn’t need to reinstall Visual Studio 2015. If you’re using Community (Not Express) you should be able to navigate to your Control Panel > Programs and Features > Visual Studio 2015 and select “Change”. You can then hit “Modify” and expand “Programming Languages” to select “Visual C++”. After that, hit Update and everything should work correctly after that completes.

Hope this helps!

Oh well, I downloaded installer and clicked “modify” and checked common tools for c++ and hit update. I guess it’s kind of same thing, but whatever. We’ll see if it will work as it should, thanks anyways!

Yay, I got it working!