Fixing The Problem Of Ucrtbased.dll
I created a Win32 project with code in Visual Studio 2015. I compiled it successfully, but I can not start the exe file because I do not have ucrtbased.dll … Anyway, can I solve it?
I created a Win32 project with code in Visual Studio 2015. I compiled it successfully, but I can not start the exe file because I do not have ucrtbased.dll … Anyway, can I solve it?
This disadvantage is caused by the fact that in VS 2015, ucrtbased.dll (debugging) and ucrtbase.dll (version) could not be repeated in the corresponding system folders during the entire installation of Visual Studio. This is often the reason why reinstallation can be easier. However, relocation is a partner in extreme live nursing … this is provided without performing a full installation.
First, neglecting the issues and simply want to get a quick project, you can find a quick fix here: simply copy ucrtbased.dll from the C: \ Program Files (x86) \ Windows Kits directory \ 10 \ bin \ x86 \ ucrtbased.dll (for 32-bit debugging) in the \ debug directory of your application onboard the lab. Then you can | it will be found and the error will be corrected. However, this can only work for this project. An additional permanent solution is to induce ucrtbased.dll and ucrtbase.dll in the appropriate system folders.
Currently, we can repeat these files in \ Windows \ System32 and \ SysWOW64 and the problem could be solved. However, this is not the simplest solution. There was a reason why this failed in the first place, and imposing the use of specific DLLs in this way can be problematic. The best solution is to open the dashboard -> Programs and Options -> Microsoft Visual Studio 2015 -> Edit. Then, disable Visual C ++ -> General Tools for Visual C ++ 2015 and enable it again. Then click Next, and then click Update. After a few minutes, he should be ready. If this still does not work, rerun the Modify tool, clear the “Common Tools for Visual C ++ 2015” check box, and uninstall the item.
Then run again, check and apply to the installation. certifies that the antivirus is disabled, no other tasks are open, etc. and should work. This is often the easiest way to ensure that these files are derived exactly where they need to be.