Visual Studio incredibly slow when renaming files -
i have medium-sized solution 99 projects has started behaving weirdly:
1) if try rename file through solution explorer, vs seemingly hang, after long time (10+ minutes) complete rename operation.
2) noticed today switching between debug , release mode seems freeze vs well. far haven't let run long enough see if completes.
i've tried both visual studio 2012 , 2013, , both exhibit same problem, seems indicate problem might not visual studio. i've tried check in event log if there's there, nothing jumped out on me. i've rebooted , run checkdisk, didn't find wrong.
running windows 7 professional on high-specced laptop 8gb ram , new ssd
update: apparently if have renamed file once, can keep renaming (and other files in solution) immediately. when restart vs, it's slow again.
update2: left computer running overnight try switch debug release, , managed in 14ish hours between me leaving work , getting here.
visual studio can extremely slow in renaming files if using tfs "local" workspace oppose "server" workspace, , total number of files including different versions in tfs repository exceeds 10,000 items.
contrary microsoft's recommendation, suggest using server workspace instead of local 1 better performance. there other downsides local workspaces , upside being able work while tfs repository down. that's not of upside considering if can't connect tfs, can't connect lan , there's darn little work can anyway in situation.
to change server workspace tfs in visual studio 2015,
in vs click on file --> source control --> advanced --> workspaces
in dialog opens, select workspace , click edit...
click advance... (it not matter mapping selected).
under location, select server , press ok.
switching on server may take ten minutes or more depending on size of repository.
once done, renaming files should instantaneous.
Comments
Post a Comment