9
1
Ever since switching to VS 2012, I have a frequently occurring issue where dropbox tries to sync files as VS 2012 is creating them (when adding a project, installing nuget packages, etc...). VS fails because the file(s) are locked. Has anyone else experienced this issue? Is there a way to configure Dropbox to delay sync by a few seconds or some other work around?
@ThiefMaster: I have a feeling Dropbox locks the file just to create some sort of hash to compare with what's on the server. The problem is intermittent because of the race condition of VS 2012 trying to lock the file when it creates it and Dropbox apparently trying to lock anything the second it's created or modified. For me, I see it all the time when compiling the Debug build and VS 2012 complains it can't open the
pdb
file. – darda – 2014-07-07T01:37:16.147@pelesl I see it mostly when rolling back or updating nuget packages with dependencies, but I do see the pdb issue as well. I've since moved on to OneDrive, and I noticed they seem to have a delay in processing changed files. Maybe it was intentional design, or just a byproduct of something else, but it has eliminated this issue, for me. – Chris – 2014-07-08T01:03:04.417
Sounds more like something you should suggest to the dropbox devs. I don't think something like Dropbox should lock files at all - if they are modified while being synced it should handle it in a transparent way. – ThiefMaster – 2012-10-08T16:08:06.420