我正在使用带有 Parallels(虚拟 Windows 机器)和 Windows 8 的 Macbook Air。 当尝试在 VS2015 社区上为我的 CS2250 (CS3) 类的脱节 union 编码项目运行性能诊断而不调试/向导/cpu 使用时,我收到错误:“性能报告必须在本地驱动器上创建。Z:\是不是本地驱动器。您要选择本地目录来存储您的报告吗?"关于如何欺骗 VS 使用 Z:\作为本地驱动器或其他一些解决方法的任何想法?我已经在虚拟机 (C:) 和 mac (Z:) 中尝试了几个文件路径,但似乎没有任何效果。谢谢。
最佳答案
For better performance, VS Profiler requires the report to be on a local drive.
[...] However, if you absolutely have to use your network drives for that purpose, you can achieve that through usage of Symbolic Links. A symbolic link can be easily created with mklink utility. For example,
mklink /D C:\Foo \\MyNetwork\MyValut
After that you can use C:\Foo as a location for profiling reports. Keep in mind, though, that your network access can be slower than a local drive access, and it can impact your profiling session.
在您的情况下,将 \\MyNetwork\MyValut
替换为 Z:\whatever
。
关于c++ - Mac 上的 Visual Studio 使用 VS2015 故障性能测试--Z : not considered a local drive,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33850509/