Opening .resx files in Visual Studio.net gives “The operation cannot be completed. Invalid Pointer” error

时光总嘲笑我的痴心妄想 提交于 2019-12-11 15:50:08

问题


I am using Visual Studio 2008. While opening some of the .resx file, it is giving me error that "The operation cannot be completed. Invalid Pointer". What can be the possible problem and solution?

Thanks in anticipation.


回答1:


In Tools->Options->Environment->Fonts and Colors, change any raster or bitmap font settings to a TrueType font, or simply click OK to have any raster fonts fall back to the default font (Consolas on English systems). The editor should then load correctly. Running "devenv /resetuserdata" will also resolve the issue, though it will reset all of your settings to the defaults and therefore change more of your preferences than is necessary to fix the problem.




回答2:


In my case it was invalid xml inside my resx file that was causing the issue. I posted my answer to this question:

When opening a .resx file in Visual Studio 2012, gives "The operation could not be completed. Invalid pointer" error



来源:https://stackoverflow.com/questions/1950562/opening-resx-files-in-visual-studio-net-gives-the-operation-cannot-be-complete

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!