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?
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.
"ActivityLog.xml"
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.
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.