The following example shows a .vscontent file for a .vsi file that contains an add-in that must be used with Visual Studio 2008 only. The following files would be included in the .vsi file for this content:
A .vscontent file that contains the XML shown in this example.
The add-in registration file MyAddin.Addin.
The compiled add-in .dll file MyAddin.dll.
The add-in files are installed in the following directory:
n:\...\My Documents\Visual Studio <version>\Addins\
For additional examples, see How to: Publish Project Templates and How to: Publish Code Snippets.
|
<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
<Content>
<FileName>MyAddin.Addin</FileName>
<FileName>MyAddin.dll</FileName>
<DisplayName>Example Add-in</DisplayName>
<Description>An add-in created for this example.</Description>
<FileContentType>Addin</FileContentType>
<ContentVersion>2.0</ContentVersion>
</Content>
</VSContent> |
The following example shows a .vscontent file for a .vsi file that contains a macro project that can be used with either Visual Studio 2005 or Visual Studio 2008. The following files would be included in the .vsi file for this content:
The macro file is installed in the following directory:
n:\...\My Documents\Visual Studio <version>\Projects\VSMacros80\
|
<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
<Content>
<FileName>MyMacroProject.vsmacros</FileName>
<DisplayName>My Macro Project</DisplayName>
<Description> A macro project created for this example.</Description>
<FileContentType>Macro Project</FileContentType>
<ContentVersion>1.0</ContentVersion>
</Content>
</VSContent> |