I'm having an issue where Visual Studio performance is horrendous when the solution is loaded from a networked drive. This does not seem to happen to other developers, just me.
After running procmon and monitoring the devenv process, i notice that one key difference between a project opened from a local path vs a networked path is that the project opened from the networked path is trying to execute Operation 'CreateFile' on path 'C:\Windows\CSC\v2.0.6\namespace\kpg.apps' 1000s of time. the Result is 'NAME NOT FOUND'.
Does anyone know why visual studio is trying to do this for the project opened from the network and how i can resolve or at the very least stop it from attempting this operation?
thanks
It may help to disable offline files (which are stored by default at the location you mentioned): Go to control panel, Sync Center to manage that.
Also, some servers may be configured to force offline files on the share - but this may not be the case when it works for other users.
It sounds like you have either:
The easiest way to determine which of these two is to open the solution in Safe Mode, which you can do from a Visual Studio Command Prompt:
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
X:\>devenv /safemode \\unc\path\to\your\solution.sln
This will turn off all the bells and whistles while loading your solution.
If it is still slow, this is most likely not a Visual Studio problem. Keep in mind though that network resources and Windows rarely play well together. Numerous "trust" settings affect the behavior of files loaded from UNC paths.
That folder is Windows Client Side Caching, so this is not a VS problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With