Ask a questionAsk a question
 

AnswerPossible comment bug in pkgundef file

  • Monday, November 02, 2009 3:37 PMSalec Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,
         Not sure how I should post bugs. I've found that in my pkgundef file.  Comments that contain "*" cause a error message to be shown while loading the isolated shell.  This seems like a bug since I would have expected all characters after "//" to be disregarded.

    Example Comment:
    // ** General Packages **

    -Shaun
    •  

Answers

All Replies

  • Wednesday, November 04, 2009 3:55 AMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes, this is a bug.
    The // comments are not respected in the middle of a line in a pkgdef file.
    If you move the comment to a new line, it'll work.

    The pkundef file has been updated but it was done after the final Beta 2 SDK was built.
    • Unmarked As Answer bySalec Wednesday, November 04, 2009 5:42 AM
    • Marked As Answer byQuan ToMSFT, ModeratorWednesday, November 04, 2009 3:55 AM
    •  
  • Wednesday, November 04, 2009 5:42 AMSalec Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Actually, this comment was the only text on a line.  The specific thing that made it work was the omission of the "*" characters.   I've seen the other bug you mention in which the mid-line comments that were provided had to be removed but this seems like something else.
  • Monday, November 09, 2009 9:49 PMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You're right.
    pkgdef only supports "//" and single quote as the market for comments.