home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Visual Studio 2008 Template
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="thlucas" data-source="post: 721342" data-attributes="member: 111098"><p>Hello PlugIn developer people! </p><p></p><p>I have created a Visual Studio 2008 Project Template that will create a new GUI plugin shell. It creates the Visual Studio project for the basic <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer's_Guide/1_Develop_a_Plugin" target="_blank">GUI plugin source</a>, adds all MP assemblies to the Project References, and creates a folder structure for various default skins (Blue3, Blue3Wide, PureVisionHD). Note that all MP assembly references are added from a default MP install - ie "C:\Program Files\Team MediaPortal\MediaPortal". This can be changed if you installed MP to a non-default location, or are using 64-bit paths (ie "Program Files(x86)").</p><p></p><p>I attached some screenshots of Visual Studio.NET project creation process, as well as the .vstemplate file and associated zip. </p><p></p><p>To install:</p><p>1) save the .vstemplate.txt file and .zip file to your local computer.</p><p>2) rename the .vstemplate.txt file to .vstemplate (could not attach a .vstemplate extension).</p><p>3) double click on the .vstemplate file to install the template.</p><p></p><p>To Use:</p><p>1) start Visual Studio and click on the "File.New Project" menu item. </p><p>2) click on the "Visual C#" project type.</p><p>3) click on the "Media Portal Plugin Project" template item.</p><p>4) enter a project name and click Ok. The project will be generated with a GUI plugin shell.</p><p></p><p>I also added Post-Build events to copy the PlugIn assembly DLL to the MP plugins folder, as well as copy the individual skin XML files to the appropriate skin folders. You may need to adjust the Post-Build event to copy to the correct ApplicationData folder. I use this on my Windows XP development machine, so it copies the skins to "C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\skin\xxxx" by default.</p><p></p><p>Limitations:</p><p>This template should work for Visual Studio versions 2005, 2008, and 2010. Note that I have only tested it with 2008, but I'm confident it will work for 2010.</p><p></p><p>Enjoy!</p></blockquote><p></p>
[QUOTE="thlucas, post: 721342, member: 111098"] Hello PlugIn developer people! I have created a Visual Studio 2008 Project Template that will create a new GUI plugin shell. It creates the Visual Studio project for the basic [URL="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer's_Guide/1_Develop_a_Plugin"]GUI plugin source[/URL], adds all MP assemblies to the Project References, and creates a folder structure for various default skins (Blue3, Blue3Wide, PureVisionHD). Note that all MP assembly references are added from a default MP install - ie "C:\Program Files\Team MediaPortal\MediaPortal". This can be changed if you installed MP to a non-default location, or are using 64-bit paths (ie "Program Files(x86)"). I attached some screenshots of Visual Studio.NET project creation process, as well as the .vstemplate file and associated zip. To install: 1) save the .vstemplate.txt file and .zip file to your local computer. 2) rename the .vstemplate.txt file to .vstemplate (could not attach a .vstemplate extension). 3) double click on the .vstemplate file to install the template. To Use: 1) start Visual Studio and click on the "File.New Project" menu item. 2) click on the "Visual C#" project type. 3) click on the "Media Portal Plugin Project" template item. 4) enter a project name and click Ok. The project will be generated with a GUI plugin shell. I also added Post-Build events to copy the PlugIn assembly DLL to the MP plugins folder, as well as copy the individual skin XML files to the appropriate skin folders. You may need to adjust the Post-Build event to copy to the correct ApplicationData folder. I use this on my Windows XP development machine, so it copies the skins to "C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\skin\xxxx" by default. Limitations: This template should work for Visual Studio versions 2005, 2008, and 2010. Note that I have only tested it with 2008, but I'm confident it will work for 2010. Enjoy! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Visual Studio 2008 Template
Contact us
RSS
Top
Bottom