MSDN > 論壇首頁 > Building Development and Diagnostic Tools for .Net > How to lookup compiler error codes?
發問發問
 

已答覆How to lookup compiler error codes?

解答

  • Monday, 22 June, 2009 16:29Karel ZikmundMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    If you need links to MSDN documentation, then note that no one guarantees that the MSDN links are permanent and will work in the future. I have seen some of them to change from time to time in the past couple of years.
    That's IMO the main reason why there is not built-in mapping from error number to MSDN link.

    You can simply create your own static list of errors and their links by parsing MSDN docs (e.g. parse the list from this HTML page: http://msdn.microsoft.com/en-us/library/ms228296.aspx). That's IMO the best thing you can do.

    -Karel

所有回覆

  • Monday, 22 June, 2009 16:29Karel ZikmundMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    If you need links to MSDN documentation, then note that no one guarantees that the MSDN links are permanent and will work in the future. I have seen some of them to change from time to time in the past couple of years.
    That's IMO the main reason why there is not built-in mapping from error number to MSDN link.

    You can simply create your own static list of errors and their links by parsing MSDN docs (e.g. parse the list from this HTML page: http://msdn.microsoft.com/en-us/library/ms228296.aspx). That's IMO the best thing you can do.

    -Karel