Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual Basic
 Troubleshooting Snippets

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.Net Framework 3.5

Other versions are also available for the following:
Visual Basic Application Development
Troubleshooting Snippets

Problems with IntelliSense code snippets are typically caused by two problems: a corrupt snippet file or bad content in the snippet file.

The Snippet Cannot Be Dragged from Windows Explorer to a Visual Studio Source File

  • The XML in the snippet file may be corrupt. The XML Editor in Visual Studio can locate problems in the XML structure.

  • The snippet file may not conform to the snippet schema. The XML Editor in Visual Studio can locate problems in the XML structure.

The Code Has Compiler Errors That Are Not Highlighted

  • You may be missing a project reference. Examine the documentation about the snippet. If the reference is not found on the computer, you will need to install it. Inserting a snippet should add to the project any references needed. If the snippet is missing the reference information, that can be reported to the snippet creator as an error.

  • A variable may be undefined. Undefined variables in a snippet should be highlighted. If not, that can be reported to the snippet creator as an error.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker