locked
MSBuild can not find .csproj file RRS feed

  • Question

  • I can build my project within Visual Studio 2008, but if I try to build it using MSBuild on the command line, it fails to find the .csproj file, which is located in the same folder as the sln file. What am I doing wrong? The command I am trying within the command prompt is:

    C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\BAMLive\TelemetryUserClient\TelemetryUserClient>c:\windows\microsoft.net\framew
    ork\v3.5\msbuild "c:\Documents and Settings\Administrator\My Documents\Visual St
    udio 2008\Projects\BAMLive\TelemetryUserClient\TelemetryUserClient\TelemetryUser
    Client.sln" /t:build                                                                                                                                                                                  

    Friday, August 16, 2013 1:16 AM

Answers

  • ANSWER:

    MSbuild needs to point to csproj file, not sln file.

    • Marked as answer by NetEng1 Monday, August 19, 2013 11:39 AM
    Monday, August 19, 2013 11:39 AM