Why Visual Studio 2015 can't run exe file (ucrtbased.dll)?

后端 未结 6 904
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-23 10:52

I have installed the Visual Studio 2015 and created Win32 project with some code. I compiled it successfully, but I can\'t launch exe file, because I don\'t have some ucrtba

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 11:50

    An easy way to fix this issue is to do the following (click on images to zoom):

    Make sure to close Visual Studio, then go to your Windows Start -> Control Panel -> Programs and Features. Now do this:

    A Visual Studio window will open up. Here go on doing this:

    Select the checkbox for Common Tools for Visual C++ 2015 and install the update.

    The update may takes some time (~5-10 minutes). After Visual Studio was successfully updated, reopen your project and hit Ctrl + F5. Your project should now compile and run without any problems.

提交回复
热议问题