Monday, 15 June 2015

visual studio - Corrupt files when debugging into .NET framework -


When debugging in the .NET framework using Visual Studio 2008 Professional, the source files are in some way corrupted, For example, a source file may start like this:

  // Copyright (c) Microsoft Corporation All Rights Reserved. Ï ¿namespace system. Web.mc {using system; Using System.Collections.Generic; Using System.Diagnostics.CodeAnalysis; Using System.Globalization;  

Any ideas?

This is really annoying and I can not find a solution on Google.

It looks like you had a Unicode (UTF-16) encoded file that was either UTF-8 or ANSI was opened in the form of.

To save your source file as UTF8.


No comments:

Post a Comment