在我的项目中,我有很多html文件。对于每个文件,IntelliSense都会报告有关ResX输入无效的错误(并非总是如此,例如,当我切换分支时。重新打开解决方案之后,所有错误都消失了)
示例错误:
ResX input is not valid. Cannot find valid "resheader" tags for the ResX reader and writer type names.
ResX file Unexpected end of file has occurred. The following elements are not closed: input. Line 2, position 1. cannot be parsed.
ResX file There are multiple root elements. Line 9, position 2. cannot be parsed.
ResX file The 'input' start tag on line 31 position 12 does not match the end tag of 'form-control'. Line 36, position 11. cannot be parsed.
文件既没有设置Custom Tool
也没有设置Custom Tool Namespace
,整个目录都没有设置Build Action
= None
和Copy to output Directory
= Do not copy
是否可以忽略ResX验证程序的html文件?