如果进行override操作时,提示:Code Snippet titled [Method Stub - Body] failed to load. Verify that refactoring snippets are recognized in the Code Snippet Manager and that the snippet files are valid on disk. 那说明指定的Code Snippet块无法找到,解决办法很简单,只要重新导入Code Snippet块就行了。找到并打开Code Snippet Manager(Ctrl + K,Ctrl + B),然后选择要操作的语言(C#),用Add按钮导入两个默认的文件夹:Refactoring和Visual C#,这两个文件夹一般会在VS2005安装目录下的,如:C:\Program Files\Microsoft Visual Studio 8\VC#\Snippets\1033 ,如果有这两个文件夹,则先删除然后再导入。

posted on 2008-11-17 11:38  〆o殺殸纨o〆  阅读(168)  评论(0编辑  收藏  举报