代码段无法添加到Visual C#Express '08中的代码片段库中(Code Snippet can't be added to snippet library in Visual C# Express '08)
这段代码添加得很好:
http://pastebin.com/m5f7f2dce
这是我想要添加到我的IDE中的一个:
http://pastebin.com/m61321572
但我收到“无效片段”错误。 除了声明区域外,我没有看到两者有什么不同。
任何帮助?
This snippet is added fine:
http://pastebin.com/m5f7f2dce
And this is the one I'm trying to add into my IDE:
http://pastebin.com/m61321572
But I recieve an "invalid snippet" error. I don't see anything different about the two except for the declaration area.
Any help?
最满意答案
如果我使用Latin1编码保存片段,我会得到相同的错误。
如果使用UTF-8编码保存片段,则片段将成功导入。
I get the same error if I save your snippet with Latin1 encoding.
The snippet successfully gets imported if you save it with UTF-8 encoding.
更多推荐
发布评论