Hi @Madasnal, Daryappa,
Welcome to Microsoft Q&A!
Do you mean that it only occurs in building VC++ project? Can you create other projects and check again?
The error message usually indicates that your Windows shuts down incorrectly.
Please refer to: Event ID 41: "The system has rebooted without cleanly shutting down first".
You can check for your Windows updates and try to repair your VS2015 by opening your Control Panel > Uninstall or change a program > search it > right-click on “Change”.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.