Visual Studio 2017 automatically checks out file and then back in

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Visual Studio 2017 automatically checks out file and then back in



Running Visual Studio 2017 Enterprise Version 15.7.6 I'm having a rather annoying problem: Every time I open a file the file get momentarily checked out and back in. This takes a couple of seconds where my IDE freezes.



I haven't changed anything so I'm thinking this might be a bug related to the 15.7.6 release. Has anyone experienced something similar and is there a fix or workaround?



Thanks in advance...





I'm using TFS for version control. This seems to be happening in all solutions now so I'm thinking that it's VS related and not solution related.
– CJe
Aug 13 at 6:21





Did you try in another PC with this version of VS?
– Shayki Abramczyk
Aug 13 at 7:13





Did some more digging: Doesn't happen for a colleague. It appears to be .cshtml specific. It doesn't happen to .cs or .config files.
– CJe
Aug 13 at 7:28





Even more: It happens only to cshtml files with actual Razor code in them. A simple cshtml files without any Razor code is opened just fine.
– CJe
Aug 13 at 7:40





You can try to reinstall and also clean the cache folder.
– Shayki Abramczyk
Aug 13 at 8:54




1 Answer
1



What fixed it in the end was uninstalling VS2017 and reinstalling it. Even though the installation failed multiple times and I had to delete the VS installer folder, I eventually got it up and running again...






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered