MC Plugin Template for Visual Studio
This Template, for Visual Studio .NET 2005, creates a Project with all the basic coding needed to create a Plugin for Media Center 12.0.213 or higher. It can be downloaded here
To Install do the following:
Download the zip file. Extract the MC_CSPlugin.vsi file to some location on your harddisk. Doubleclick the file The Visual Studio Content Installer will open:
Click Next A warning saying the content is not signed will pop up
Click Yes Click Finish in the next box
Click Close
Creating a new Project in Visual Studio .NET now has become very easy Start Visual Studio .NET 2005 Click in the 'File' Menu on 'New' and 'Project' (or Type Ctrl-Shif-N)
A new Project will be created for you after you click 'OK' Follow the instructions in the HTML displayed
In thr project a file called Template.snk is present. After you've created a new project with the template this file can be found in the Project Explorer. If you plan to build more than 1 plugin with the template it is best to remove this file from your project and create a new one executing the Strong Name Tool (sn.exe) from the "Visual Studio 2005 Command Prompt".
Start the "Visual Studio 2005 Command Prompt".
Navigate to your directory and execute the command "sn.exe -k Templatename.snk" (of cource replacing the 'Templatename.snk' with your own filename ending with .snk).
Add this item back into the project.