设置SymCache位置 [英] Set SymCache Location

查看:222
本文介绍了设置SymCache位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


每次打开VS.NET 2017项目时,都会在我的C根驱动器上创建一个SymCache文件夹。


我想将它移动到Temp文件夹,所以我使用了这两个命令,现在,它不是用C创建的,而是在我提到的目标中没有创建!!!


所以它无处创建我能找到!


请指教。


SETX _NT_SYMCACHE_PATH"%_ NT_SYMCACHE_PATH%; C:\ Users \OMID SOLO \ AppData \\ \\ local \ SymCache" b $ b $ SETX _NT_SYMCACHE_PATH"%_ NT_SYMCACHE_PATH%; C:\ Users \OMID SOLO \ AppData \ Local \ SymCache" / M


我做错了什么?


谢谢。

解决方案

您好OSVBNET,


感谢您在此处发帖。



开发者社区中存在类似的问题:


,将 _NT_SYMBOL_PATH 环境变量设置为Windows符号服务器和本地目录
Temp 通过 命令提示符 :



第三步:重启Visual Studio,然后调试项目,你会发现SymCache将在以下位置创建:
C:\ Users \Admin \ AppData \ Local \ Temp。


希望这个可以帮到你。


Hi,

Everytime I open a VS.NET 2017 project a SymCache folder will be created on my C root drive.

I want to move it to the Temp folder, so I used these 2 commands, now, it's not created in C but not in the target I mentioned!!!

So it's created nowhere I can find!

Please advise.

SETX _NT_SYMCACHE_PATH "%_NT_SYMCACHE_PATH%;C:\Users\OMID SOLO\AppData\Local\SymCache"
SETX _NT_SYMCACHE_PATH "%_NT_SYMCACHE_PATH%;C:\Users\OMID SOLO\AppData\Local\SymCache" /M

What I am doing wrong?

Thanks.

解决方案

Hi OSVBNET,

Thanks for posting here.

There is a similar question on the Developer Community:

https://developercommunity.visualstudio.com/content/problem/3085/debugging-with-visual-studio-2017-rc-always-create.html

The solution is very similar to yours, "set the environment variable _NT_SYMCACHE_PATH to a specific location"

But I got the same result as you after test, the SymCache folder not be create.

If you just want to move SymCache to the Temp folder, I found a workaround for this question, not sure if it works for you:

First, set the environment variable _NT_SYMCACHE_PATH to a specific location:

Second, according to this document, set the sets the _NT_SYMBOL_PATH environment variable to the Windows symbol server and the local directory Temp by Command Prompt :

Third: Restart the Visual Studio, then debug the project, you will find the SymCache will be created at: C:\Users\Admin\AppData\Local\Temp.

Hope this can help you.


这篇关于设置SymCache位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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