添加了很多资源后,删除后,确无法编译的问题
vs2013添加了很多资源,其中有名字叫 ‘res\2.res’,后来全部删除后
编译出现如下问题
cannot open file ‘res\2.res’
用BMP图片改成这个名字,结果报如下错误:
invalid or corrupt file: cannot read at 0x4FB56
用空白文件改成这个名字,结果报如下错误:
invalid or corrupt file
用ICO文件改成这个名字,结果报如下错误:
invalid file or disk full: cannot seek to 0x61500000
通过搜索也找不到’res\2.res
后来发现通过solution explorer发现里面有2.res这个坏坏的文件残留
![在这里插入图片描述](https://img-blog.csdnimg.cn/20190820145908915.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2h1cWk2NjY=,size_16,color_FFFFFF,t_70)
可以删除2.res就好了