Simple Plugin won't start in TV Service

ears

Portal Member
October 7, 2008
162
28
Hi,

I'm trying to create a plugin from the ground up. I've followed the guidance as much as I can but when I copy the DLL over and start the TV Service I get a message that my plugin is...

is incompatible with the current tvserver version and won't be loaded!

Do I need to specify the version I'm targeting somewhere or am I using the wrong Framework? I'm 'currently targeting 4.

Thanks in advance for any advice.
 

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,909
    113
    Saratov
    Home Country
    Russian Federation Russian Federation
    Country flag
    Hi!
    I believe you need to specify compatibility info in AssemblyInfo.cs like this:
    Code:
    using MediaPortal.Common.Utils;
    
    [assembly: CompatibleVersion("1.9.0.0", "1.1.6.27644")]
    [assembly: UsesSubsystem("TVE")]
    http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Version_Compatibility
    I've always targeting net 3.5 but since you're probably building against latest tvservice net 4.0 should be okay.
    If you have questions I will be happy to answer them in PM or IRC channels (#mediaportal, #mp-tvseries, #moving-pictures)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom