VS2015 UCRT 源文件在哪里? [英] Where are the VS2015 UCRT Source files?

查看:27
本文介绍了VS2015 UCRT 源文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TL;DR:我在哪里可以找到在调试时被引用为 d:\th\minkernel\crts\ucrt\... 的 MS 源文件Visual Studio 2015.

TL;DR: Where do I find the MS source files that are referenced as d:\th\minkernel\crts\ucrt\... when debugging in Visual Studio 2015.

我正在尝试调试 CRT 调用以查看 MS 实际在做什么,不幸的是,ucrt 源文件似乎在安装 VS2015 时不可用.至少我在 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src 中根本找不到这些文件.

I'm trying to debug into a CRT call to see what MS is actually doing, and unfortunately it seems the ucrt source files are not available with an installation of VS2015. At least I cannot find these files in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src at all.

MS CRT 的(大部分)完整源代码集是否仍然可用,因为它曾经至少在 VS2010 之前可用,或者 CRT 的某些部分现在完全封闭源代码?

Is the (mostly) full source set of the MS CRT still available somewhere as it used to be at least up to VS2010, or are some parts of the CRT now fully closed source?

推荐答案

由 RLWA32 在 MSDN 上回答:

ucrt 源可以在 Windows Kits 文件夹下找到.例如,在安装了 VS2015 的 32 位 VM 中,ucrt 源的路径是 -C:\Program Files\Windows Kits\10\Source\10.0.10240.0\ucrt.

The ucrt source can be found under the Windows Kits folder. For example, in a 32 bit VM with VS2015 installed the path to the ucrt source is - C:\Program Files\Windows Kits\10\Source\10.0.10240.0\ucrt.

您可以通过检查任何 C+ 项目的 VC++ 目录属性来找到路径 -

You can find the path by examining the VC++ directories property for any C+ project -

$(VC_SourcePath)

这个文件夹实际上在我机器上的 Program Files (x86) 上,但它就在那里.

This folder is in fact on Program Files (x86) on my machine, but it's there.

我错过了,因为有另一个文件夹 C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\... 而这个没有'不包含任何来源.

I missed it, because there is another folder C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\... and this one doesn't contain any sources.

这篇关于VS2015 UCRT 源文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆