.sln = not a valid Visual Studio Project File

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erich

    .sln = not a valid Visual Studio Project File

    Hello!

    I didnt find this error in the MS documentation, but struggling with it
    since a few days. Before I lost all my hope, let me ask you for a hint on
    that, so I might come out of that dilemma:

    I want to open and work with a project, distributed as open source.
    I downloaded the whole source (C#) and upped it to my webserver.
    I want to connect via web extensions. What seems to work on all my other
    projects.

    Ive created a own virtual directory for it. When I try to open the .sln file
    in VS i get (translated, so dont take it word by word)

    " The file you have choosen ist not a valid Visual Studio project solution
    file "

    I also have a .csproj file, which (to my confusion) works, but of course
    just does not give me the whole project, only a part of it.

    I do: Open project from web -> type in my ip -> i get a list of files in
    that folder -> I choose the .sln -> I get the error described as above.

    Can you give me an advice? Or direct me to a page where this things are
    discussed?

    You would really help me with that!

    Thank you,

    Erich


  • Patrice

    #2
    Re: .sln = not a valid Visual Studio Project File

    AFAIK the sln file is human readable. I would open it to see how it looks...

    Patrice

    --

    "Erich" <Erich@discussi ons.microsoft.c om> a écrit dans le message de
    news:613D2DB1-0BBA-4C82-B2B4-18CC7A2381FC@mi crosoft.com...[color=blue]
    > Hello!
    >
    > I didnt find this error in the MS documentation, but struggling with it
    > since a few days. Before I lost all my hope, let me ask you for a hint on
    > that, so I might come out of that dilemma:
    >
    > I want to open and work with a project, distributed as open source.
    > I downloaded the whole source (C#) and upped it to my webserver.
    > I want to connect via web extensions. What seems to work on all my other
    > projects.
    >
    > Ive created a own virtual directory for it. When I try to open the .sln[/color]
    file[color=blue]
    > in VS i get (translated, so dont take it word by word)
    >
    > " The file you have choosen ist not a valid Visual Studio project solution
    > file "
    >
    > I also have a .csproj file, which (to my confusion) works, but of course
    > just does not give me the whole project, only a part of it.
    >
    > I do: Open project from web -> type in my ip -> i get a list of files in
    > that folder -> I choose the .sln -> I get the error described as above.
    >
    > Can you give me an advice? Or direct me to a page where this things are
    > discussed?
    >
    > You would really help me with that!
    >
    > Thank you,
    >
    > Erich
    >
    >[/color]


    Comment

    • Erich

      #3
      Re: .sln = not a valid Visual Studio Project File



      "Patrice" wrote:
      [color=blue]
      > AFAIK the sln file is human readable. I would open it to see how it looks...
      >[/color]


      Thx Partice

      well, oc I did this.
      I cant find anything wrong.
      There is only one point that needs to be set to a path.
      The other stuff looks like this example:

      Project("{FAE04 EC0-301F-11D3-BF4B-00C04F79EFBC}")
      ....

      or, on the following "global" section like this:

      GlobalSection(P rojectConfigura tion) = postSolution
      {1F4DD1F6-7102-4E2B-BB25-846348431CE3}.D ebug.ActiveCfg = Debug|.NET
      ....


      if this is right or wrong, I really cant tell ... because I dont understand
      a word.

      Hasnt anybody an idea of where errors like this are USUALY located?
      I just need a direction, because everything that was on my mind, I already
      tried to the fullest.

      thx










      [color=blue]
      > "Erich" <Erich@discussi ons.microsoft.c om> a écrit dans le message de
      > news:613D2DB1-0BBA-4C82-B2B4-18CC7A2381FC@mi crosoft.com...[color=green]
      > > Hello!
      > >
      > > I didnt find this error in the MS documentation, but struggling with it
      > > since a few days. Before I lost all my hope, let me ask you for a hint on
      > > that, so I might come out of that dilemma:
      > >
      > > I want to open and work with a project, distributed as open source.
      > > I downloaded the whole source (C#) and upped it to my webserver.
      > > I want to connect via web extensions. What seems to work on all my other
      > > projects.
      > >
      > > Ive created a own virtual directory for it. When I try to open the .sln[/color]
      > file[color=green]
      > > in VS i get (translated, so dont take it word by word)
      > >
      > > " The file you have choosen ist not a valid Visual Studio project solution
      > > file "
      > >
      > > I also have a .csproj file, which (to my confusion) works, but of course
      > > just does not give me the whole project, only a part of it.
      > >
      > > I do: Open project from web -> type in my ip -> i get a list of files in
      > > that folder -> I choose the .sln -> I get the error described as above.
      > >
      > > Can you give me an advice? Or direct me to a page where this things are
      > > discussed?
      > >
      > > You would really help me with that!
      > >
      > > Thank you,
      > >
      > > Erich
      > >
      > >[/color]
      >
      >
      >[/color]

      Comment

      • John Vottero

        #4
        Re: .sln = not a valid Visual Studio Project File

        "Erich" <Erich@discussi ons.microsoft.c om> wrote in message
        news:613D2DB1-0BBA-4C82-B2B4-18CC7A2381FC@mi crosoft.com...[color=blue]
        > Hello!
        >
        > I didnt find this error in the MS documentation, but struggling with it
        > since a few days. Before I lost all my hope, let me ask you for a hint on
        > that, so I might come out of that dilemma:
        >
        > I want to open and work with a project, distributed as open source.
        > I downloaded the whole source (C#) and upped it to my webserver.
        > I want to connect via web extensions. What seems to work on all my other
        > projects.
        >
        > Ive created a own virtual directory for it. When I try to open the .sln
        > file
        > in VS i get (translated, so dont take it word by word)
        >
        > " The file you have choosen ist not a valid Visual Studio project solution
        > file "
        >
        > I also have a .csproj file, which (to my confusion) works, but of course
        > just does not give me the whole project, only a part of it.
        >
        > I do: Open project from web -> type in my ip -> i get a list of files in
        > that folder -> I choose the .sln -> I get the error described as above.
        >
        > Can you give me an advice? Or direct me to a page where this things are
        > discussed?
        >[/color]

        I think your problem is that you're trying to open a project but then you
        point to a solution file. I don't think you can open a solution from the
        web, your solution should be local and the projects that the solution
        contains are opened from the web.

        You could try creating a blank solution (File->New->Blank Solution...) and
        then doing File->Add Project->Existing Project From Web... to add the
        projects that you want.





        Comment

        Working...