c++ - Mac 上的 Visual Studio 使用 VS2015 故障性能测试--Z : not considered a local drive

标签 c++ macos visual-studio-2012 parallels diagnostics

我正在使用带有 Parallels(虚拟 Windows 机器)和 Windows 8 的 Macbook Air。 当尝试在 VS2015 社区上为我的 CS2250 (CS3) 类的脱节 union 编码项目运行性能诊断而不调试/向导/cpu 使用时,我收到错误:“性能报告必须在本地驱动器上创建。Z:\是不是本地驱动器。您要选择本地目录来存储您的报告吗?"关于如何欺骗 VS 使用 Z:\作为本地驱动器或其他一些解决方法的任何想法?我已经在虚拟机 (C:) 和 mac (Z:) 中尝试了几个文件路径,但似乎没有任何效果。谢谢。

最佳答案

http://blogs.msdn.com/b/profiler/archive/2011/04/25/performance-reports-must-be-created-on-a-local-drive.aspx

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/

相关文章:

swift - Storyboard初始化和取消

c++ - OpenCV 错误 : Assertion failed (src1. size == dst.size && dst.type() == CV_8U) in cvInRangeS

c++ - 如何使用 cmake 为嵌套子目录设置 Visual Studio 过滤器

c++ - *.h文件和*.cpp文件中派生类的定义和声明

C++ 在构造函数中使用 this 指针

C++ - 对结构使用 GTest 值参数化测试会导致 valgrind 错误

git - 无法理解 Git 的 difftool 配置是如何设置的

采用种子的 C++ 哈希函数

entity-framework - 在 Entity Framework 项目中添加对项目的引用

c++ - Visual Studio 2012 中的奇怪错误