Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, January 22, 2018 7:17 PM
I have found numerous answers online, none of which fix my problem.
I can half fix my problem by changing the project's target platform from Windows 8.1 to 10. Problem is that doesn't solve the issue for other projects, and may cause issues when collaborating with other people, who will be targeting 8.1.
I have tried repairing my installation of Visual Studio, reinstalling the 8.1 Windows Kit, and copying the 8.1 Windows Kit from someone with the same version of Visual Studio that doesn't have the issue. None of these have solved the problem.
What else can I do to try to fix the issue?
All replies (3)
Tuesday, January 23, 2018 6:22 AM
Hi Alexander,
Welcome to the MSND forum.
What’s your VS 2015 version and OS edition? Please go to Help-About Microsoft Visual Studio to check the version, then share the detail steps to reproduce this issue, like the project type…
Please check this similar issue and per this doc: Introducing the Universal CRT, the file ucrtd.lib is a library from the Windows SDK and I searched it on my computer and it located in C:\Program Files (x86)\Windows Kits\10\Lib, the Visual C ++ didn’t include the Windows SDK, I recommend you download the Windows SDK from the following links refer to your OS version, and use it to install or repair.
Best regards,
Sara
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Tuesday, January 23, 2018 3:16 PM
I also have the file there, but that doesn't solve the issue when the target platform version is 8.1, the default.
Further, the link you provided is for Visual Studio 2017 and Windows 10, neither of which apply. From those links, I was able to find the Windows SDK archive, which includes the Windows 8.1 SDK. I have tried reinstalling it again from the file there, as well as the Visual Studio Community 2015 download there. Doing that didn't solve the issue.
Adding "$(UniversalCRT_IncludePath)" to the Library Directories in VC++ Directories, as per the first link you gave, does not solve the issue either,. The evaluated values having to do with ucrt do not have ucrt.lib. They are "C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt" and "C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\ucrt\x86".
Being more explicit in listing the directory and putting "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\ucrt" in there does not fix it either, despite all child directories of that directory having ucrt.lib.
On top of that, doing that would not fix the fact that I would have to make this change on every new project, as it doing affect the default.
Wednesday, January 24, 2018 8:17 AM
Hi Alexander,
Thank you for your update.
Please try to complete uninstall the VS 2015 using Visual Studio Uninstaller and re-download the installer from here, and run this fix tool then run the installer as administrator to re-install VS 2015.
Best regards,
Sara
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]