解決辦法
在Vs的Tools->Options->Text Editor->Advanced->IntelliSense中設置Disable Squiggles(波浪線)爲True,問題即可解決:
原因:http://docs.wholetomato.com/default.asp?W200
Microsoft introduced squiggles for unknown symbols in Visual Studio 2010. Visual Assist will not underline symbols, irrespective of the setting in its options dialog, if you leave the IDE setting enabled.
即:
微軟推出的Visual Studio 2010中的未知符號下劃波浪線。如果不啓用IDE設置,可視化輔助程序將不會在選項對話框中下劃線符號。也就是需要在VS中完成Squiggles的設置後,VAssist的錯誤提示功能纔有效。