TL;DR:在哪里可以找到在调试时引用为 d:\th\minkernel\crts\ucrt\...
的 MS 源文件Visual Studio 2015。
我正在尝试调试 CRT 调用以查看 MS 实际上在做什么,不幸的是,安装 VS2015 后似乎无法使用 ucrt 源文件。至少我根本无法在 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src
中找到这些文件。
MS CRT 的(大部分)完整源代码集是否仍然可以在某个地方使用,因为它曾经至少达到 VS2010,或者 CRT 的某些部分现在完全封闭源代码?
最佳答案
Answered on MSDN通过 RLWA32:
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
.You can find the path by examining the VC++ directories property for any C+ project -
$(VC_SourcePath)
该文件夹实际上位于我计算机上的 Program Files (x86)
上,但它就在那里。
我错过了它,因为还有另一个文件夹C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\...
,而这个没有不包含任何来源。
关于visual-c++ - VS2015 UCRT源文件在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49048673/