My First Plugin does not appear in plugin list (1 Viewer)

e61phil

New Member
August 22, 2012
3
0
41
Home Country
Germany Germany
Hello,

I've created a plugin exactly as described in

http://wiki.team-mediaportal.com/1_...s/Plugin_Developer's_Guide/1_Develop_a_Plugin

but the plugin doesn't appear in the plugin list.

I've used Microsoft Visual C# 2010 Express on Windows 7 64 and Mediaportal 1.2.3.0.

I referenced the core.dll and the dialogs.dll from the installation path of MediaPortal. The source Code is a 1:1 copy of the wiki side.

Is there anythig to change with Visual C# 2010 Express?

Best regards
Philipp
 

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    1) Be sure it is on .Net Framework 3.5
    2) AssemblyInffo should contain compatibility info
    3) Open Configuration - plugins and click save
     

    e61phil

    New Member
    August 22, 2012
    3
    0
    41
    Home Country
    Germany Germany
    I changed the C# project from .NET 4 to .NET 3.5, I added this lines in the AssemblyInfo:

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

    and I added the reference to Common.Utils.dll

    And now.. It works!

    Thank you very much :)
     

    e61phil

    New Member
    August 22, 2012
    3
    0
    41
    Home Country
    Germany Germany
    One day.. it can receive UDP broadcasts from my home automation system and display messages like "the washing machine is ready" or something like that.

    Do you know a process plugin tutorial?
     

    Users who are viewing this thread

    Top Bottom