CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2008
    Posts
    2

    Unable to read the project file 'myapp.csproj'

    I am getting below popup message when I try to open .sln file
    " Unable to read the project file 'myapp.csproj' "
    can any one help to solve this problem. i need this argent.

  2. #2
    Join Date
    Nov 2003
    Posts
    2,185

    Re: Unable to read the project file 'myapp.csproj'

    Open the project file via a text editor and see what's wrong. It's just an xml file.

  3. #3
    Join Date
    Jan 2008
    Posts
    2

    Re: Unable to read the project file 'myapp.csproj'

    Its not an Excel file , its a Microsoft visual studio solution file.
    content in that file is below:
    Microsoft Visual Studio Solution File, Format Version 9.00
    # Visual Studio 2005
    Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SymphonyDataBroker", "SymphonyDataBroker.csproj", "{60B92088-D95C-48EE-807C-CC0F123B0A88}"
    EndProject
    Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
    Debug|Any CPU = Debug|Any CPU
    Release|Any CPU = Release|Any CPU
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
    {60B92088-D95C-48EE-807C-CC0F123B0A88}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    {60B92088-D95C-48EE-807C-CC0F123B0A88}.Debug|Any CPU.Build.0 = Debug|Any CPU
    {60B92088-D95C-48EE-807C-CC0F123B0A88}.Release|Any CPU.ActiveCfg = Release|Any CPU
    {60B92088-D95C-48EE-807C-CC0F123B0A88}.Release|Any CPU.Build.0 = Release|Any CPU
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
    HideSolutionNode = FALSE
    EndGlobalSection
    EndGlobal
    Last edited by pradeep.basavanahalli; January 21st, 2008 at 07:42 AM.

  4. #4
    Join Date
    Nov 2003
    Posts
    2,185

    Re: Unable to read the project file 'myapp.csproj'

    I know where the .sln extension stands for

    You are missing the myapp.csproj (or the location has changed), that's where the solution is complaining about. So, again, open the sln file in a text editor (for example notepad), and fix the problem.

  5. #5
    Join Date
    Sep 2009
    Posts
    1

    Smile Re: Unable to read the project file 'myapp.csproj'

    I got the same error.
    imported project file Microsoft.Silverlight.CSharp.targets not found.

    this path to Microsoft.Silverlight.CSharp.targets wrong. i searched the file Microsoft.Silverlight.CSharp.targets in explorer and got the path.

    then i opened the .csproj in wordpad and changed the path here

    <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\Silverlight\Microsoft.Silverlight.CSharp.targets" />

    then it got loaded

    Cheers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured