Open CePur opened 7 months ago
@CePur , we're sorry you are running into this. In order to preserve the correctness of your markup, when Razor tries to format the document, it compares the number of diagnostics (think squiggles) 'before' and 'after', and if they are different it chooses to not format. When you are running into the RZ1003 error as above, does the formatting complete successfully?
@phil-allen-msft nope, it doesn't format. It formats only if i comment out the shared code piece.
Getting error via razor logger output while trying to format .cshtml file in VS.
Error RZ1003: A space or line break was encountered after the "@" character
The error occurs at after ".actiontype-"
VS info: