Building TV Plugin (1 Viewer)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    3,523
    1,722
    Nuenen
    Netherlands Netherlands
    Country flag
    I think you are making it more complicated than it needs to be.
    Cloning the repo and openining the TvLibrary.sln in vs2015/vs2019 compiles just fine here.
    And again, you probably don't need to compile the tvservice for you to develop a plugin for it
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    Hi, thanks for checking.

    Have you a link to the git address you cloned from ?
    I can try the exact same link.

    If it fails, I can confirm its my environment and take it from there. Thanks.

    I am cloning from here:
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,523
    1,722
    Nuenen
    Netherlands Netherlands
    Country flag
    That is indeed the correct one.
    Also tried running the batchfiles and I too got the 'BuildReport\msxsl' is not recognized so at my end it's also a bit different from the build server from Mediaportal. But that hasn't stopped me from developing/debugging plugins
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    1583674223619.png


    I get this same result no matter how much git cloning, resetting branches, adding project references and trying to mess with the assembly references.
    Weird that I get this.

    I deleted the project folder, then git clone.
    Open mediaportal.sln, which fails for assembly references - even on nuget package restore.
    1583674547798.png


    Open the .sln file for tvlibrary which built to success.
    Open tvplugin and get the assembly reference issues.
    1583674707580.png
     
    Last edited:

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,523
    1,722
    Nuenen
    Netherlands Netherlands
    Country flag
    aha, now we're getting somewhere.
    I see that indeed it is not 100% correctly configured. the tvplugin debug references the release version of the common stuff.
    Best bet is to try build MediaPortal.sln in debug and in release mode and then try to build the tvplugin
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    1583681126462.png


    I think this could be the last problem to resolve.
    LastFMLibrary within mediaportal
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    Hi, thanks for all the help.

    I can finally report success with:
    MediaPortal.sln build.
    TvLibrary.sln
    TvPlugin.sln.

    Only needed a single line change to TvPlugin after all that.

    Its yielded the tvplugin.dll @ v 1.24.0.

    Perfect in summary.
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    The solution.
    Satisfy the PrePreqs: Compile and Build PrePreq's

    Install Visual Studio 2017.
    Ensure you only have the team mediaportal assembly library, microsoft offline and nuget.
    Install NuGet tools into VS2017.

    Last but not least...
    Dont bother with 2013, 2015, 2019 in my instance.
     

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

    OP Similar threads Forum Replies Date
    M General TVE 3.5 VS2019 - build discussion TV Engine 50
    morpheus_xx [Help Me!] Build issues on TeamCity MediaPortal 2 1
    framug 1.24.0 1.25.0 pre : problem with build ? 1.24 Pre Release 89
    doskabouter Build errors MediaPortal 1 9
    doskabouter Building TVPlugins MediaPortal 1 17
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    morpheus_xx Test builds of MP2.3 WiP, x64, Nereus and more... MediaPortal 2 44
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    N [Question] How come when I build WIP_2.2.1 the logged version number is 2.1.1711.10774? MediaPortal 2 1
    N [Question] Build troubles MediaPortal 2 6
    Stéphane Lenclud [fixed] Core DLL not building from Visual Studio MediaPortal 1 2
    J Clock speed vs multi-core CPU's Can MediaPortal benefit from multi core cpu's? General 0
    J Recorded TV to NAS no longer working after Windows build 1803 1.19 6
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    Similar threads

























    Top Bottom