incompitable example code in wiki, plugin incompatible (1 Viewer)

darkjoy2k2

New Member
March 21, 2010
3
0
Hi alltogether,

im trying to do some first steps in developing with mp.

i created the sampleplugin exactöy as told in the wiki and it tells me my plugin is out of date.

i acknowleged the link to the compatibility requirements but i dont get the hang of what is wrong
withe the code in the wiki and what exactly to change...

thanks to anyone lending a helping hand!
 

bushbrother

Portal Pro
February 14, 2008
192
15
UK
Home Country
United Kingdom United Kingdom
I had this exact same issue, you need to alter the Assemblyinfo.cs code within the project properties folder.

Make sure you add "using MediaPortal.Common.Utils;" to the includes and also add the common.utils.dll as a reference, finally add the following at the bottom of the code:

using System.Reflection;
.
.
.
BLA
BLA
.
.
.
using MediaPortal.Common.Utils;
.
.
.
BLA
BLA
BLA
.
.
.
[assembly: CompatibleVersion("1.1.6.27644")]
[assembly: UsesSubsystem("MP.SkinEngine")]
[assembly: UsesSubsystem("MP.Config")]
 

darkjoy2k2

New Member
March 21, 2010
3
0
thanks for help !!!

Mediaportal Namespace exists, but ther is no .common member...

maybe you mean

using Mediaportal.Util;

but compatileversion, and UsesSubsysem arent found...
VC gives hint "maybe the assembly is missing"
 

bushbrother

Portal Pro
February 14, 2008
192
15
UK
Home Country
United Kingdom United Kingdom
you need to add another reference to the Common.Utils.dll, just like you already did for Core.dll in the wiki. It is in the Mediaportal directory.

Project -> Add Reference -> Browse -> add the Common.Utils.dll from mediaportal directory
 

rekenaar

Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    Hi :)

    Thanks for pointing it out. I added a link on the relevant page to make it a bit more clear.
    If you feel it can still be better explained, please assist by updating the wiki (or let us know if you need help).

    Develop a Plugin - MediaPortal Wiki
     

    Users who are viewing this thread

    Top Bottom