Unicode + /FI breaks edit & continue RRS feed

  • Question

  • We use /FI in our .SLNs because we re-use many of our source files across our solution but need them to include the sub-project specific precompiled header.

    Edit and Continue recently started misbehaving, giving us an "error C2018: unknown character '0xbf'" on the first line of whatever file we were editing.

    I've tracked this down to some files being saved as "Unicode (UTF-8 with signature) - Codepage 65001" (they have to be, they include various UTF-8 characters).

    But you can also replicate the problem simply by having the project character set being set to Unicode :/

    Video of how to reproduce:


    Monday, May 9, 2011 7:14 AM


All replies