开发者

Visual Studio 2008, asks about encoding everytime I open a page

Everytime I open a file in vs2008, it asks me about fixing the encoding. it also, if the file is open, asks me if I want to close the file before showing it.

I'm pretty sure I fixed this issue once before, but I can't remember how.

Does anyone remember how to f开发者_运维知识库ix it?

Thanks,

Cal-


Here is the fix:

http://social.msdn.microsoft.com/Forums/en-SG/vssetup/thread/35fcbb4d-3511-4f79-b3cd-6d05883b4c6f

basically the default editor for .cs files was set to "CSharp Editor (with encoding)"

Change the default back to the non "(with encoding)" flavor of the editor and beauty and joy are once again a part of you life!

Cal-


Well, if you are editing your files with more than one editor, chances are you are saving with different encodings. Visual studio can detect this and try to recover the file. Try to save your files to a common encoding (via "Save As") and make sure that all text editors you are using on that file support the encoding you selected.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜