Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Coding Aids
 How to: Share Snippets with other D...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio 
How to: Share Snippets with other Developers 

The storage mechanism for IntelliSense Code Snippets makes it easy to share snippets with other developers.

Security noteSecurity Note

Before you use a downloaded code snippet, determine the trustworthiness of the code outside of Visual Studio. Building, debugging, and running projects in Visual Studio that include the code snippet automatically executes code on your local machine in the trusted process of devenv.exe. For more information, see Security Considerations in Using Snippets.

To share your code as a snippet

  1. Create a snippet file that contains the code you want to share. For more information, see Creating Code Snippets.

  2. Share the file you created with other developers as you would share any other file, including mail attachment, network share, and floppy disk or CD.

To use a snippet from another source

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Share snippets with others at www.GotCodeSnippets.NET      palermo4   |   Edit   |   Show History
Code snippets for C# and Visual Basic developers can be found at www.GotCodeSnippets.NET - a community web site dedicated to Visual Studio 2005 code snippets.
Tags What's this?: Add a tag
Flag as ContentBug
sharing snippets dynamically      noeldp   |   Edit   |   Show History
How can snippets be added dynamically to a shared snippet folder so they immediately become available for use, without manually importing each addition at each developer desk?
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker