Problems setting up development environment (2 Viewers)

dragonkeyper

Portal Member
November 22, 2011
13
0
48
Home Country
United States of America United States of America
Any plans to update the developers guide? It's currently more than two years old. And appears to be out dated as i ran into no less than 40 reference issues when setting up my environment.
 

dragonkeyper

Portal Member
November 22, 2011
13
0
48
Home Country
United States of America United States of America
what are they?
I was able to resole quite a few but i am still getting the following warnings;
Warning 1 'System.AppDomain.GetCurrentThreadId()' is obsolete: 'AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\RemotePlugins\Hook\NativeMethods.cs 128 30 RemotePlugins
Warning 2 'System.AppDomain.GetCurrentThreadId()' is obsolete: 'AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\RemotePlugins\Hook\NativeMethods.cs 135 25 RemotePlugins
Warning 3 The field 'MediaPortal.Configuration.Startup._avoidVersionChecking' is assigned but its value is never used D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\Configuration\Startup.cs 47 18 MediaPortal.Configuration
Warning 4 The field 'MediaPortal.Configuration.Sections.Music.SuppressVisualizationRestart' is assigned but its value is never used D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\Configuration\Sections\Music.cs 119 18 MediaPortal.Configuration
Warning 5 The event 'MpeCore.Classes.ActionType.Script.ItemProcessed' is never used D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPE\MpeCore\Classes\ActionType\Script.cs 36 44 MpeCore
Warning 6 Field 'TsCutterPackage.clPids.Header_1' is never assigned to, and will always have its default value null D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\WindowPlugins\VideoEditor\TsFileCutter.cs 34 19 WindowPlugins
Warning 7 The field 'MediaPortal.GUI.RADIOLASTFM.StreamControl._currentPlaylistType' is assigned but its value is never used D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\WindowPlugins\GUIRadioLastFM\StreamControl.cs 152 24 WindowPlugins
Warning 8 Obsolete member 'Pabo.MozBar.MozItem.BackColor' overrides non-obsolete member 'System.Windows.Forms.Control.BackColor' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozItem.cs 479 27 MPInstaller
Warning 9 Obsolete member 'Pabo.MozBar.MozItem.ForeColor' overrides non-obsolete member 'System.Windows.Forms.Control.ForeColor' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozItem.cs 488 27 MPInstaller
Warning 10 Obsolete member 'Pabo.MozBar.MozItem.BackgroundImage' overrides non-obsolete member 'System.Windows.Forms.Control.BackgroundImage' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozItem.cs 498 27 MPInstaller
Warning 11 Obsolete member 'Pabo.MozBar.MozItem.RightToLeft' overrides non-obsolete member 'System.Windows.Forms.Control.RightToLeft' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozItem.cs 507 33 MPInstaller
Warning 12 Obsolete member 'Pabo.MozBar.MozPane.BackgroundImage' overrides non-obsolete member 'System.Windows.Forms.Control.BackgroundImage' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozPane.cs 608 27 MPInstaller
Warning 13 Obsolete member 'Pabo.MozBar.MozPane.RightToLeft' overrides non-obsolete member 'System.Windows.Forms.Control.RightToLeft' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozPane.cs 618 33 MPInstaller
Warning 14 Obsolete member 'Pabo.MozBar.MozPane.Text' overrides non-obsolete member 'System.Windows.Forms.Control.Text' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozPane.cs 627 28 MPInstaller
Warning 15 Obsolete member 'Pabo.MozBar.MozPane.ForeColor' overrides non-obsolete member 'System.Windows.Forms.Control.ForeColor' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozPane.cs 636 27 MPInstaller
Warning 16 Obsolete member 'Pabo.MozBar.MozPane.AutoScroll' overrides non-obsolete member 'System.Windows.Forms.ScrollableControl.AutoScroll' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\MPInstaller\Controls\MozPane.cs 645 26 MPInstaller
Warning 17 'System.Net.Dns.GetHostByName(string)' is obsolete: 'GetHostByName is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202' D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\PowerSchedulerClientPlugin\PowerScheduler.cs 877 31 PowerSchedulerClientPlugin
Warning 18 The field 'MediaPortalApp._avoidVersionChecking' is assigned but its value is never used D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\xbmc\MediaPortal.cs 150 23 MediaPortal (MediaPortal\MediaPortal)
Error 19 The command "subwcrev "D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MyPlugins\." "D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MP-TVSeries\MP-TVSeries\Properties\VersionInfo.cs.tmpl" "D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MP-TVSeries\MP-TVSeries\Properties\VersionInfo.cs"" exited with code 10. MP-TVSeries
Warning 20 The referenced component 'Common.GUIPlugins' could not be found.
Warning 21 The referenced component 'Common.Utils' could not be found.
Warning 22 The referenced component 'Core' could not be found.
Warning 23 The referenced component 'Databases' could not be found.
Warning 24 The referenced component 'Dialogs' could not be found.
Warning 25 The referenced component 'GUIVideos' could not be found.
Warning 26 The referenced component 'Utils' could not be found.
Error 27 The command ""D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MediaPortal\xbmc\PostBuild.bat" "D:\AppDev\Projects\MediaPortal\Visual Studio 2010\C#\MediaPortal\PluginDev\MyPlugins\" Debug" exited with code 4. MediaPortal (MediaPortal\MediaPortal)

Any assistance\advice to get me moving along will be greatly appreciated.
Thanks
 

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Well, most of warning about obsolete code are useless so you need to concentrate on errors and relevant warnings.
    Warning 20 The referenced component 'Common.GUIPlugins' could not be found.
    Warning 21 The referenced component 'Common.Utils' could not be found.
    Warning 22 The referenced component 'Core' could not be found.
    Warning 23 The referenced component 'Databases' could not be found.
    Warning 24 The referenced component 'Dialogs' could not be found.
    Warning 25 The referenced component 'GUIVideos' could not be found.
    Warning 26 The referenced component 'Utils' could not be found.
    Did you add mediaportal dlls referencies to you project? You could either point on your install or store dlls in specififc External folder near with svn copy.
     

    dragonkeyper

    Portal Member
    November 22, 2011
    13
    0
    48
    Home Country
    United States of America United States of America
    Understood that most are mere warnings, but i am unable to build the project. I called myself following the guide to the letter. I don't recall mention of adding references. But i did import the entire MP project as described in the MP-TV developer's guide. I've imported Media portal as a separate project and it compiles fine. Its only when i import the TV-MP project and Media Portal together that i see the reference errors.
     
    Last edited:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    What branch are you using?
    You should be opening the solution (.sln) files, not the project files.
     

    dragonkeyper

    Portal Member
    November 22, 2011
    13
    0
    48
    Home Country
    United States of America United States of America
    Excuse me, i miss-spoke I am indeed opening the solution files per the directions in the developers guide as posted here. Branch? I'm not 100% sure, I'm using whatever is in the subversion repositories linked on the aforementioned page.
    Thanks
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Ahhh, okay. This starts to make more sense. I should have looked at where you posted the thread.
    Since that guide was written MediaPortal has switched from subversion to git. Our repository is hosted here:
    https://github.com/MediaPortal/MediaPortal-1

    Presumably you'd need to clone that git repository instead of pulling from the old subversion repository which is way out of date.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    The dev guide for MP-TVSeries is very out-dated and the process is much more simplier.

    All you need to do now is do a fresh SVN checkout and open the solution, it should build off the bat as we include any external references required in SVN i.e. there is no need to manually add references to external libraries or projects.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Probably the only thing you need to do is get an APIKey and insert that into the Online Parsing Classes/APIKey.resx file from the solution explorer.

    You should also be aware that the trunk will only work on MediaPortal 1.7.
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics... I'm afraid there is no such plugin :unsure:
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for...
    HI, I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
    Replies
    1
    Views
    1K
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Hi there I've recently tried to get the Bootstrap 0.7.255 skins working in a new WebMediaPortal environment but ran into several...
    Replies
    6
    Views
    2K
    • Sticky
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in driving the development of an advanced HTPC software? Would you like new features get implemented faster? Well, then join us! What we offer: Almost unlimited creative leeway The possibility to closely...
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in...
    Software Developer C# The MediaPortal 2 team is seeking committed people to strengthen its developer basis Are you interested in...
    Replies
    0
    Views
    7K
    MP1 supports TVE 3 MP2 supports TVE 3, TVE 3.5 (unstable), TV Mosaic - I think so.
    MP1 supports TVE 3 MP2 supports TVE 3, TVE 3.5 (unstable), TV Mosaic - I think so.
    I am a long-time user of MediaPortal to watch TV. I use the Media Portal TV Server as a backend, and Kodi (previously known as...
    Replies
    19
    Views
    5K
    MP1 MP2 1.34 STB blasting for IPTV DE
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set top box into Mediaportal needs replaced with a different solution. I currently have HDMI from the STB to the colossus. Mediaportal is controlling the STB through a USBUIRT blaster and the blaster is...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    Replies
    0
    Views
    1K
    Top Bottom