ReflectedSchemas folder in the user's AppData folder (Visual Studio)

我只是一个虾纸丫 提交于 2019-11-27 19:20:07

I've tried to empty the folder completely, and have no problems found since i've done. When launching a project in VS, a new schema was created.

Edit: you can also move the folder and put it back when you believe you screwed things up...

This drives me crazy and hopefully it will be fixed in VS 2010; however, I found another solution to this problem.

My "fix" is to use the "Junction" tool to map the folder to another drive. If you're like me and have a second drive, then you can use window's Junction tool to create something like a symbolic link to map the folder to another drive.

Best of all, you no longer need to use the command line. This freeware tool works great: Junction Link Magic.

palswim

These files caused problems for me because I was using Windows' Roaming Profiles feature, so I symlinked (created symbolic links for) them to the Local AppData folder:

cd %APPDATA%\Microsoft\VisualStudio\9.0
mklink /D ReflectedSchemas ..\..\..\..\Local\Microsoft\VisualStudio\9.0\ReflectedSchemas
mklink /D ReflectedTypeLibs ..\..\..\..\Local\Microsoft\VisualStudio\9.0\ReflectedTypeLibs

If your needs/problems regarding these files differ from mine, you can link them to a different folder, even on a different partition. (You can use the /J switch instead of /D, and in this case, it probably won't matter, but it does help to know the differences between the different types of links.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!