MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Development » General Development (no feature request here!)



Reply
 
LinkBack Thread Tools Display Modes
Old 2009-01-03, 21:27   #1 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 17
Thanks: 7
Thanked 0 Times in 0 Posts

Country:


Question Help to getting started with development - C# Express edition

Hi,

I'm quite sure that I have seen a really good guide how to use C# express edition (EE) to edit MP source, now that I want to start looking into the source, off course, I cant find it....


What I've done:

I've installed Tortoise and downloaded latest SVN. (https://mediaportal.svn.sourceforge....k/mediaportal/)

In C# EE I open the C# EE solution Hit F5 and gets 4 errors:

2 times:
Error 35 Metadata file 'C:\Documents and Settings\Anders\My Documents\MP\mediaportal\ProcessPlugins\bin\Debug\ ProcessPlugins.dll' could not be found HcwHelper

And 2 times:
Error 49 The referenced assembly "C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MiniDisplayLibrary\bin\De bug\MiniDisplayLibrary.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. WindowPlugins


Beside that I get alot of warnings:

Warning 1 The referenced component 'MiniDisplayLibrary' could not be found.
Warning 2 The referenced component 'MiniDisplayLibrary' could not be found.
Warning 3 The member 'DirectShowLib.IMediaEventEx.GetEvent(out DirectShowLib.EventCode, out int, out int, int)' does not hide an inherited member. The new keyword is not required. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\DirectShowLib\Control.cs 812 17 DirectShowLib
Warning 4 The member 'DirectShowLib.IMediaEventEx.FreeEventParams(Direc tShowLib.EventCode, int, int)' does not hide an inherited member. The new keyword is not required. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\DirectShowLib\Control.cs 832 17 DirectShowLib
Warning 5 The variable 'ex' is declared but never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Utils\Configuration\XmlSe ttingsProvider.cs 195 9 Utils
Warning 6 'MediaPortal.GUI.Library.GUIMultiImage.Info' hides inherited member 'MediaPortal.GUI.Library.GUIControl.Info'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\guilib\GUIMultiImage .cs 153 16 Core
Warning 7 'MediaPortal.Core.Transcoding.IWMInputMediaProps.G etType(out System.Guid)' hides inherited member 'MediaPortal.Core.Transcoding.IWMMediaProps.GetTyp e(out System.Guid)'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Wmlib.cs 778 9 Core
Warning 8 'MediaPortal.Core.Transcoding.IWMInputMediaProps.G etMediaType(System.IntPtr, ref uint)' hides inherited member 'MediaPortal.Core.Transcoding.IWMMediaProps.GetMed iaType(System.IntPtr, ref uint)'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Wmlib.cs 783 9 Core
Warning 9 'MediaPortal.Core.Transcoding.IWMInputMediaProps.S etMediaType(MediaPortal.Core.Transcoding.WmMediaTy pe)' hides inherited member 'MediaPortal.Core.Transcoding.IWMMediaProps.SetMed iaType(MediaPortal.Core.Transcoding.WmMediaType)'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Wmlib.cs 789 9 Core
Warning 10 The variable 'videoBitrate' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Dvrms2WM V.cs 501 15 Core
Warning 11 The variable 'audioBitrate' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Dvrms2WM V.cs 502 15 Core
Warning 12 The variable 'videoHeight' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Dvrms2WM V.cs 503 15 Core
Warning 13 The variable 'videoWidth' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Dvrms2WM V.cs 504 15 Core
Warning 14 The variable 'videoFps' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\Dvrms2WM V.cs 505 18 Core
Warning 15 The variable 'videoBitrate' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\TSReader 2WMV.cs 572 15 Core
Warning 16 The variable 'audioBitrate' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\TSReader 2WMV.cs 573 15 Core
Warning 17 The variable 'videoHeight' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\TSReader 2WMV.cs 574 15 Core
Warning 18 The variable 'videoWidth' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\TSReader 2WMV.cs 575 15 Core
Warning 19 The variable 'videoFps' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Core\Transcoding\TSReader 2WMV.cs 576 18 Core
Warning 20 The private field 'MediaPortal.Music.Database.AudioscrobblerUtils._d oCoverLookups' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Databases\Music\Audioscro bbler\AudioscrobblerUtils.cs 480 18 Databases
Warning 21 The variable 'ex' is declared but never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\MPInstaller.L ibrary\MpInstallerNameReplace.cs 53 15 MPInstaller.Library
Warning 22 'MediaPortal.Configuration.Sections.GeneralStartup Delay.components' hides inherited member 'MediaPortal.Configuration.SectionSettings.compone nts'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\Ge neralStartupDelay.Designer.cs 33 46 MediaPortal.Configuration
Warning 23 'MediaPortal.Configuration.Sections.General.compon ents' hides inherited member 'MediaPortal.Configuration.SectionSettings.compone nts'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\Ge neral.Designer.cs 33 46 MediaPortal.Configuration
Warning 24 'MediaPortal.Configuration.Sections.GeneralScreens aver.components' hides inherited member 'MediaPortal.Configuration.SectionSettings.compone nts'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\Ge neralScreensaver.Designer.cs 8 46 MediaPortal.Configuration
Warning 25 'MediaPortal.Configuration.Sections.MovieDatabase. components' hides inherited member 'MediaPortal.Configuration.SectionSettings.compone nts'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\Mo vieDatabase.Designer.cs 8 46 MediaPortal.Configuration
Warning 26 'MediaPortal.Configuration.Sections.GeneralWatchdo g.components' hides inherited member 'MediaPortal.Configuration.SectionSettings.compone nts'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\Ge neralWatchdog.Designer.cs 8 46 MediaPortal.Configuration
Warning 27 The variable 'foundInterfaces' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\TV Client.cs 125 16 MediaPortal.Configuration
Warning 28 The variable 'analogCard' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\WizardForm. cs 145 14 MediaPortal.Configuration
Warning 29 The variable 'DVBTCard' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\WizardForm. cs 146 14 MediaPortal.Configuration
Warning 30 The variable 'DVBCCard' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\WizardForm. cs 147 14 MediaPortal.Configuration
Warning 31 The variable 'DVBSCard' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\WizardForm. cs 148 14 MediaPortal.Configuration
Warning 32 The variable 'ATSCCard' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\WizardForm. cs 149 14 MediaPortal.Configuration
Warning 33 The private field 'MediaPortal.Configuration.Sections.MusicDSP._dsps ' is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\Mu sicDSP.cs 65 26 MediaPortal.Configuration
Warning 34 The private field 'MediaPortal.Configuration.Sections.FiltersVideoRe nderer._init' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\Configuration\Sections\Fi ltersVideoRendererConfig.cs 14 10 MediaPortal.Configuration
Error 35 Metadata file 'C:\Documents and Settings\Anders\My Documents\MP\mediaportal\ProcessPlugins\bin\Debug\ ProcessPlugins.dll' could not be found HcwHelper
Warning 36 The private field 'MediaPortal.D3DApp.loopCount' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\xbmc\d3dapp.cs 2778 24 MediaPortal
Warning 37 The private field 'MediaPortal.D3DApp.sleepCount' is assigned but its value is never used C:\Documents and Settings\Anders\My Documents\MP\mediaportal\xbmc\d3dapp.cs 2779 24 MediaPortal
Error 38 Metadata file 'C:\Documents and Settings\Anders\My Documents\MP\mediaportal\ProcessPlugins\bin\Debug\ ProcessPlugins.dll' could not be found MediaPortal.Tests
Warning 39 Member 'Pabo.MozBar.MozItemDesigner.OnSetComponentDefault s()' overrides obsolete member 'System.ComponentModel.Design.ComponentDesigner.On SetComponentDefaults()'. Add the Obsolete attribute to 'Pabo.MozBar.MozItemDesigner.OnSetComponentDefault s()'. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\MozI tem.cs 1336 24 MPInstaller
Warning 40 'Pabo.MozBar.ScrollableControlWithScrollEvents.Hor izontalScroll' hides inherited member 'System.Windows.Forms.ScrollableControl.Horizontal Scroll'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\Scro llableControlWithScrollEvents.cs 70 38 MPInstaller
Warning 41 'Pabo.MozBar.ScrollableControlWithScrollEvents.Ver ticalScroll' hides inherited member 'System.Windows.Forms.ScrollableControl.VerticalSc roll'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\Scro llableControlWithScrollEvents.cs 77 38 MPInstaller
Warning 42 'Pabo.MozBar.MozPane.PaddingChanged' hides inherited member 'System.Windows.Forms.Control.PaddingChanged'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\MozP ane.cs 154 29 MPInstaller
Warning 43 'Pabo.MozBar.MozPane.Padding' hides inherited member 'System.Windows.Forms.Control.Padding'. Use the new keyword if hiding was intended. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\MozP ane.cs 458 28 MPInstaller
Warning 44 Member 'Pabo.MozBar.MozPaneDesigner.OnSetComponentDefault s()' overrides obsolete member 'System.ComponentModel.Design.ComponentDesigner.On SetComponentDefaults()'. Add the Obsolete attribute to 'Pabo.MozBar.MozPaneDesigner.OnSetComponentDefault s()'. C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\MozP ane.cs 2131 24 MPInstaller
Warning 45 'System.ComponentModel.Design.ComponentDesigner.On SetComponentDefaults()' is obsolete: 'This method has been deprecated. Use InitializeNewComponent instead. .NET Framework Developer Center' C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\MozI tem.cs 1338 4 MPInstaller
Warning 46 'System.ComponentModel.Design.ComponentDesigner.On SetComponentDefaults()' is obsolete: 'This method has been deprecated. Use InitializeNewComponent instead. .NET Framework Developer Center' C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Controls\MozP ane.cs 2133 4 MPInstaller
Warning 47 Unreachable expression code detected C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Program.cs 51 19 MPInstaller
Warning 48 Unreachable code detected C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MPInstaller\Program.cs 77 9 MPInstaller
Error 49 The referenced assembly "C:\Documents and Settings\Anders\My Documents\MP\mediaportal\MiniDisplayLibrary\bin\De bug\MiniDisplayLibrary.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. WindowPlugins


In solution explorer I set Mediaportal to startup project, correct ?


Thanks in advance
Anders
dk_akj is offline   Reply With Quote
Old 2009-01-05, 03:50   #2 (permalink)
Community Plugin Dev
 
fforde's Avatar
 
Join Date: Jun 2007
Location: Texas
Age: 28
Posts: 1,370
Thanks: 149
Thanked 501 Times in 172 Posts

Country:


Default

Well you got a lot of stuff going on there, but at a cursory glance it looks like you're either missing a project called MiniDisplayLibrary or you are missing references TO that project from your other projects. I see a lot of the errors referring to that though so I would start there.
fforde is online now   Reply With Quote
Old 2009-01-05, 10:21   #3 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 17
Thanks: 7
Thanked 0 Times in 0 Posts

Country:


Default

Shouldn't everything be downloaded with the SVN ?

Anders
dk_akj is offline   Reply With Quote
Old 2009-01-05, 11:35   #4 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 68
Thanks: 0
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via Skype™ to blaudden
Default

You better get VS 2005, that way it all works out of the box.
blaudden is offline   Reply With Quote
Old 2009-01-05, 17:44   #5 (permalink)
Community Plugin Dev
 
fforde's Avatar
 
Join Date: Jun 2007
Location: Texas
Age: 28
Posts: 1,370
Thanks: 149
Thanked 501 Times in 172 Posts

Country:


Default

Quote:
Originally Posted by dk_akj View Post
Shouldn't everything be downloaded with the SVN ?

Anders
Yep, but if you don't have your project dependencies setup right it could cause problems.
fforde is online now   Reply With Quote
Old 2009-01-05, 19:09   #6 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 17
Thanks: 7
Thanked 0 Times in 0 Posts

Country:


Default

The dependencies shoul be in the solution file, right ?

How about VS2008 ? Would that work ?

Best regards
Anders
dk_akj is offline   Reply With Quote
Old 2009-01-10, 18:56   #7 (permalink)
Portal Member
 
Join Date: May 2008
Posts: 68
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Hi,

there is a missing entry in the project for the class "MinidisplayLibary", just add to the project and compile it seperate.
(see in the main folder for MinidisplayLibary)

> also the projecte core und processplugins should compile seperate (get this info from user KayDiefenthal).

I am using Visual Studio C#2005, it works after this changes.

Ritchie
ritchie is offline   Reply With Quote
This User Say Thank You:
Old 2009-01-11, 21:48   #8 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 17
Thanks: 7
Thanked 0 Times in 0 Posts

Country:


Default

Thanks Ritchie,

Now I can start looking, learning and hopefully contribute :-)

Anders
dk_akj is offline   Reply With Quote
Reply

Bookmarks

Tags
development, edition, express, started

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SetupTv chrases when Tv-Service is not started and when started by a non-admin mp-user 1.0 RC4 and SVN Builds 0 2008-11-30 16:13
What Remote with XP Home Edition Surfer Television (MyTV frontend and TV-Server) 3 2008-06-02 09:19
Compiling MS Visual C# 2005 Express Edition GadgetMan General Development (no feature request here!) 1 2007-07-05 08:19
Microsoft Visual C# 2005 Express Edition ohdarklord General Development (no feature request here!) 3 2007-01-09 06:32
ReplayTV PC EDITION ASiDiE OffTopic 3 2006-06-29 22:50


All times are GMT +1. The time now is 02:11.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden