Error VS 2017: "Attempting to edit a TextBuffer while performing another edit"

As the name implies, I often get an error when I try to change the code after starting the program. I have to restart VS for it to work again.

Any other solution?

+13
visual studio
source share
3 answers

Closing and opening the file again should solve the problem. This may be caused by the extension or may be "ActivityLog.xml" blocked by another process for writing. No need to reload VS just the current file.

+21
source share

In my case, I have the text:

 @(@*refs.tipo + " - " +*@ (refs.tipo == "I" ? "Investigando" : "Encerrado")) 

I replaced it with:

 @((refs.tipo == "I" ? "Investigando" : "Encerrado")) 

And it worked.

0
source share

Since Visual Studio was made open source, it was decided to allow users to report problems instead of having to carry out formal quality control in the IDE. Visual Studio 2017 is unstable and contains more errors than any other version of Visual Studio, starting with version 2003, with which I started coding a long time ago.

-2
source share

All Articles