Please newbie vis C# help (1 Viewer)

m.standish

Portal Pro
July 9, 2006
174
8
Wakefield
Home Country
United Kingdom United Kingdom
Can someone point me in the right direction, tell me what im doing wrong, ive followed the guide but its not working
Im getting errors trying to compile

history:
downloaded svn using tortiose
installed nunit 2.2.8
Installed visual c# express 2005

opened vis c, load mediaportal.sln (message soloutions are not supported in this version, plugins will not be availiable)
in vis c window, a list of warnings "the referenced component xxxxxxx could not be found" ie directshowlib, core,utils. got about 70 of these

OR

opened vis c, load mediaportal vc#express (which is also in the svn)
errors with "one or more projects could not be loaded because it has been moved renamed or is not on your computer and will be labled as unavailiable"
in vis c window, a list of warnings "the referenced component xxxxxxx could not be found" ie directshowlib, core,utils. got about 70 of these

If i continue past these and go directly to build i get errors
Error 18 The type or namespace name 'Utils' does not exist in the namespace 'MediaPortal' (are you missing an assembly reference?) Z:\Applications\Media portal\DEVELOPMENT\Sourcecode\Core\guilib\GUIMenuControl.cs 34 19 Core

Error 26 Metadata file 'Z:\Applications\Media portal\DEVELOPMENT\Sourcecode\Core\bin\Release\Core.dll' could not be found Dialogs


PLEASE HELP ME!!!!!!!
 

patrick

Portal Pro
April 20, 2005
608
45
Southeast
Home Country
United States of America United States of America
Can someone point me in the right direction, tell me what im doing wrong, ive followed the guide but its not working
Im getting errors trying to compile

opened vis c, load mediaportal vc#express (which is also in the svn)
errors with "one or more projects could not be loaded because it has been moved renamed or is not on your computer and will be labled as unavailiable"
in vis c window, a list of warnings "the referenced component xxxxxxx could not be found" ie directshowlib, core,utils. got about 70 of these

Just compiled the SVN using mediaportal.vc#express solution and it was fine.

Make sure you have the complete SVN, sometimes when downloading the
complete SVN the first time TortoiseSVN can error out, just keep updating
until it completes successfully.

Make sure you are building:
a "release"
you build the solution not just one of the projects
Select Build, no need for Rebuild


HTH,
patrick
 

FlipGer

Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    something importand that is unfortunatly missing in the WiKi:
    Install the latest MS DirectX SDK.

    Compiling in Visual Studio C# Express should work without problems. Including the plugins. Did you open the correct solution file? There is a special one for C# Express.

    HTH,
    Flip.
     

    samuel337

    Portal Pro
    August 25, 2004
    772
    0
    Melbourne, Australia
    Don't think you need the .NET SDK, there's nothing in there apart from a heap of samples and the compilers for those who don't have Visual Studio (Express or Pro).

    If your reference problems aren't solved with the suggestions above (do try them first), you can re-reference all the projects but going through each project, expanding the reference folder in the solution explorer, and re-adding the reference to all the references there listed with a yellow exclamation sign attached.

    Sam
     

    m.standish

    Portal Pro
    July 9, 2006
    174
    8
    Wakefield
    Home Country
    United Kingdom United Kingdom
    Thanks for your help, tried those but it didnt work
    Found out after many hours i needed to copy
    core.dll
    utils.dll
    database.dll
    from my install dir into corresonding /bin/release folders
    then it kinda builds ok!
     

    mPod

    Portal Pro
    January 26, 2005
    2,084
    3
    Berlin
    Home Country
    Germany Germany
    The .NET SDK is needed. If not already installed, do so. It comes with Visual Studio, but not with C# Express.

    m.standish, what you did is not the proper way. Expect problems & old versions.
     

    Users who are viewing this thread

    Top Bottom