VS2017 fail: An XML declaration with an encoding is required for all non-UTF8 documents

sin信仰

关注

阅读 48

2023-11-14


VS2017打开一个别人的项目,报错无法打开,提示:

An XML declaration with an encoding is required for all non-UTF8 documents

VS2017 fail: An XML declaration with an encoding is required for all non-UTF8 documents_XML

研究一番,没有找到直接原因。

换个思路,是不是IDE版本问题?检查一下项目文件,IDE版本是:

VisualStudioVersion = 17.5.33414.496

这个是VS 2022的版本。

于是下载安装VS 2022,打开项目,成功。

精彩评论(0)

0 0 举报