If Visual Studio is responsible for shifting your code over, it may be
because a syntax error is causing the auto-formatter to incorrectly
parse the code. You did mention that there's an error?
If this is the case, try tracking down and fixing the error you're
getting, and all should be OK.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.