MediaPortal Development Errors (1 Viewer)

softwareskull

Portal Member
July 29, 2011
9
0
Hi guys, I'm trying to get Media Portal 1 set up with Microsoft Visual Studio 1 so I can play with the source code and features.

My current problem is: One or more of your projects in the solution were not loaded properly. Please see the output window for help.

Output:
C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\PowerScheduler.Interfaces\PowerScheduler.Interfaces.csproj : error : Unable to read the project file 'PowerScheduler.Interfaces.csproj'.
C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\PowerScheduler.Interfaces\PowerScheduler.Interfaces.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\PowerScheduler.Interfaces\PowerScheduler.Interfaces.csproj'.

C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\DirectShowLib\DirectShowLib.csproj : error : Unable to read the project file 'DirectShowLib.csproj'.
C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\DirectShowLib\DirectShowLib.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\DirectShowLib\DirectShowLib.csproj'.

C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\Common.Utils\Common.Utils.csproj : error : Unable to read the project file 'Common.Utils.csproj'.
C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\Common.Utils\Common.Utils.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Users\SoftwareSkull\Desktop\Common-MP-TVE3\Common.Utils\Common.Utils.csproj'.


What I notice so far is that Common-MP-TVE3 is not a folder on my desktop. Do I need to download something else?

I got the source code using TortoiseSVN at location: https://sources.team-mediaportal.com/svn/public/trunk/mediaportal

I'm thinking that I may need: https://sources.team-mediaportal.com/svn/public/trunk/Common-MP-TVE3/ as well?
 

softwareskull

Portal Member
July 29, 2011
9
0
alright that helped now I'm stuck with this error:

Error 7 Could not load file or assembly 'file:///C:/Users/SoftwareSkull/Desktop/viSource/MediaPortal.Base/BassRegistration.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Line 2293, position 5. C:\Users\SoftwareSkull\Desktop\viSource\Configuration\Sections\PluginsNew.resx 2293 5 MediaPortal.Configuration

Hi softwareskull

Yes, you also need the code that is common to the MP client and TV Server ("common plugins"). That can be retrieved from:

https://sources.team-mediaportal.com/svn/public/trunk/Common-MP-TVE3

(as stated in the wiki -->here<--)

mm

it doesn't mention anything about needing the plugins sorry bro.. but that I have those, can you please help me fix my error? :)
 

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    That sounds like the ResGen Problem I am having. (A known VS 2010 bug with .net 3.5 projects). Check the output pane after building for a resgen error.
    Here are some possible solutions.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Umm, what exactly are you trying to do? Compile or debug?
     

    softwareskull

    Portal Member
    July 29, 2011
    9
    0
    both I suppose? I believe it has to do with YASM.. not being able to convert the assembler file..

    YASM readme.txt:

    To use these files you need to do the following:

    1. Put the VSYASM executable file (vsyasm.exe) in the Visual Studio
    binary directory, which is typically at:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

    Alternatively, if you wish to put vsyasm.exe elsewhere, the
    environment YASMPATH can be set to the directory path (including
    the final backslash) where vsyasm.exe is placed.

    2. place the three files vsyasm.xml, vsyasm.props and vsyasm.targets
    in the directory alongside the other files with which VSYASM will
    be used.

    3. After a project that includes YASM assembler files is opened in
    the Visual Studio 2010 IDE, right click on the project in the
    solution explorer and select "Build Customisations". If vsyasm is
    offered as an option in the resulting list you can then select it;
    if not, use the "Find Existing" button and the resulting file
    dialogue to navigate to the vsyasm.targets that you stored earlier,
    select it to add it to the list and then select it from the list.

    4. Once you have done this, right clicking on the project in the
    solution explorer and selecting "Properties" will bring up a
    dialogue with a new item "Yasm Assembler" that will allow you
    to configure Yasm for building any assembler files added to
    the project.


    I don't have the build customizations that was mentioned in step 3..
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hmm, I don't do that. All I do is build the solution in "debug" mode (as opposed to "release" mode) - in other words:

    1. Right click on the solution, click "clean solution".
    2. Right click on the solution, click "build solution".
    3. Right click on the MediaPortal project, move down to "debug", then click "start new instance".

    Simple as that.

    mm
     

    softwareskull

    Portal Member
    July 29, 2011
    9
    0
    mines on debug right now

    still getting the error:

    Error 7 Could not load file or assembly 'file:///C:/Users/SoftwareSkull/Desktop/viSource/MediaPortal.Base/BassRegistration.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Line 2293, position 5. C:\Users\SoftwareSkull\Desktop\viSource\Configuration\Sections\PluginsNew.resx 2293 5 MediaPortal.Configuration
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    .resx -> the ResGen.exe bug. Anyone reading my posts?
     

    Users who are viewing this thread

    Top Bottom