CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2001
    Posts
    104

    Where are the MSBuild Error Codes?

    Hello,


    I'm using VC++ 2010 express, on Windows 7, 64 bit OS.

    I'm getting MSBuild errors, specifically MSB6006. However, when I looked for error codes, I could not find MSBuilt error codes that go that high. I can only find the list for VS2005 and VS2008, not for VS2010.

    Here is the error I'm getting:

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 2


    I've looked fairly hard for these codes, but the best I can do was this:
    http://msdn.microsoft.com/en-US/libr...(v=vs.90).aspx

    Thanks for any help!

    ...John
    If my help was useful, please rate my posting. Thanks!

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,822

    Re: Where are the MSBuild Error Codes?

    Google for MSB6006 - there's plenty of info available about this error code.
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  3. #3
    Join Date
    Jun 2001
    Posts
    104

    Re: Where are the MSBuild Error Codes?

    Thanks, but, honestly, shouldn't there be an official reference for this?
    If my help was useful, please rate my posting. Thanks!

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