Problem with visual studio 2005/2008 and sourcecode (1 Viewer)

kreker

Portal Member
April 15, 2008
46
0
I have followed the wiki on the google code page's for downloading svn source of mediaportal and mp tv series. First I try with visual studio 2008 and after converting the project I have a bunch of error (like 300).
So i ve installed visual studio 2005. Now the errors are only 3 and the warning 42.
What about that error? Why there is an error like that in svn repo?
Dunno...
I post the screen!
Thanks for support...
 

Attachments

  • Schermata 2010-01-18 a 13.29.03.png
    Schermata 2010-01-18 a 13.29.03.png
    38.5 KB

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    The target version is 3.5, so 2005 is out of the window.

    What errors did you get with 2008? Added all the references?
     

    kreker

    Portal Member
    April 15, 2008
    46
    0
    mmmm...when I come back home I'll post the result of the 2008 building process...
    thanks for answer btw...
     

    kreker

    Portal Member
    April 15, 2008
    46
    0
    I did exactly like the developers page of mp tvseries says.
    I opened the mediaportal.sln, convrted for 2008 automatically and saved.
    opened mp.tvseries.csproj, saved the sln
    add a directory
    add the mediaportal.sln
    builded
    failed.
    It can't find mediaportal namespace, sqlite namespace and guiinternalwindow namespace. i can't exeplain the file are in the correct place like the tutorial says.
    Error 8 The type or namespace name 'MediaPortal' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Utente\Documenti\Visual Studio 2008\Projects\MPPlugin\MP-TVSeries\MP-TVSeries\VideoHandler.cs 35 7 MP-TVSeries
     

    kreker

    Portal Member
    April 15, 2008
    46
    0
    I checked one by one...all without yellow mark like the screen.
    I added the mediaportal.sln wicth contains all the references, right?

    if I go to the project browser I see all the namespaces that the debug says are missing(?)
     

    Attachments

    • Schermata 2010-01-18 a 20.45.20.png
      Schermata 2010-01-18 a 20.45.20.png
      16.4 KB

    kreker

    Portal Member
    April 15, 2008
    46
    0
    I can't figure out. Now if I build the missing namespaces are only LINQ, GUIINTERNALWINDOWS and this
    Error 6 The command ""C:\Documents and Settings\Utente\Documenti\Visual Studio 2008\Projects\MPPlugin\MerdiaPortal\xbmc\PostBuild.bat" "C:\Documents and Settings\Utente\Documenti\Visual Studio 2008\Projects\MPPlugin\" Debug" exited with code 4. MediaPortal

    I checked all references one by one and there aren't any warining

    btw I check the proprieties of various project and the default framework is .net 2.0....must be changed to 3.5?
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    it must be 3.5 yes, BUT you shouldn't have to change it.

    Look here: MP-TVSeries.csproj - mptvseries - Project Hosting on Google Code
    Target Framework is clearly 3.5

    You said it asked you to convert and you did. It shouldn't do that, there is nothing to convert. I guess thats where the 2.0 comes from, obviously it also doesn't know about linq then.

    Do a clean checkout of the mp-tvseries trunk, don't convert anything. I don't see why VS 2008 would ask you to convert (as you said it did).
     

    kreker

    Portal Member
    April 15, 2008
    46
    0
    I'm retrying. Btw I convert the sln of mediaportal, not mptvseries.
    VS 2008 tell me o convert when I open mediaportal.sln
    in fact this is the first line of mediaportal.sln

    Microsoft Visual Studio Solution File, Format Version 9.00
    # Visual Studio 2005
    Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Core\Core.csproj", "{02FFFC1F-2555-4B99-8B01-3432D0673855}"
    EndProject
     

    kreker

    Portal Member
    April 15, 2008
    46
    0
    there is something wrong.
    I re checkout both repo. I open the mediaportal.sln file with vs 2008, it ask me to convert. i did.
    I build the solution without adding mptvseries and the build complete with no errors.
    Then i right click to core project and select properties, the target framework is 2.0!but i think mediaportal need it.
    so now I add the csproj of mptvseries and build....get the error on SS
     

    Attachments

    • Schermata 2010-01-18 a 22.09.58.png
      Schermata 2010-01-18 a 22.09.58.png
      15.2 KB

    Users who are viewing this thread

    Top Bottom