你好,
感谢在MSDN论坛发帖提问。
>>没问题的文件,就不会出现,可能是什么原因导致的呢?
如果代码感没有问题的话,那就可能和文件的字符编码有关,你可以尝试用VS code,Nodepad++或者其他软件查看下那几个文件编码格式,如果有问题的话可以用软件更改回来,或者使用VS自带的高级保存选项也可以,如果文件菜单里面没有这个选项,那你可以参考下这个链接。
关于这类情况的话,你也可以看下这个链接。
Best Wishes,
Jack Zhang
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any
compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.