Reputation: 5529
I have about 10 code snippets I want to use in a demo in Visual Studio 2010. Does each code snippet need to be stored in a separate snippetName.snippet
file? Or, can I have all snippets in one file?
VS complains when I add a 2nd snippet to a file. Maybe I'm missing something though.
Upvotes: 3
Views: 444
Reputation: 1318
According to this the <CodeSnippets>
element may contain multiple <CodeSnippet>
elements. I'm not sure how you are adding your second code snippet to the file, but my guess would be to add another <CodeSnippet>
section for each additional code snippet you wish to include.
Upvotes: 4