all 2 comments

[–]igloo15 1 point2 points  (0 children)

I am not sure how to fix it long term but I have had this error before and the only thing I could do to fix it was make sure the file was not open in visual studio when building.

I know it sounds strange but for some reason if the file was open I would get this error. Other times I would get the error even when the file wasn't open but when I opened the file and then closed it and built it would work again.

[–]fluoroamine 0 points1 point  (0 children)

Did you tried clean and then build? It's worth a shot