Visual Studio Crashes When I try to edit code after running project


  • after I run my windows form application on visual studio a lock symbol appears on-top of the form1.cs file (where the code is). Then when i try to edit the code visual studio says it is restarting then it crashes! Why is it doing this and how do i prevent it?

    note: this only started recently, everything worked fine until one time i ran it on a project and now every project i open a project in visual studio it suffers from this problem aswell.

    Friday, February 12, 2016 6:15 PM