Microsoft Developer Network > 포럼 홈 > Microsoft SQL Server Modeling > Problems when building the sample NorthwindFull.proj project within Intellipad
질문하기질문하기
 

답변됨Problems when building the sample NorthwindFull.proj project within Intellipad

  • 2009년 6월 11일 목요일 오전 11:14Hugo Bruneliere 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi all,

    I have more than 2900 errors when trying to compile the NorthwindFull.proj and its ".m" file, all are of the same kind:
    • NorthwindFull.m(16728,26,16728,33): error 2048: 33,25 cannot be converted into a valid Decimal.
    • NorthwindFull.m(16730,25,16730,31): error 2048: 0,03 cannot be converted into a valid Float.
    Do you have any idea about where it comes from?

    Best regards,

    Hugo
    •  

답변

모든 응답

  • 2009년 6월 11일 목요일 오후 9:03Kraig BrockschmidtMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Thanks for your post, Hugo. Apparently this is a known issue that didn't make it into the readme (which I wrote, so I apologize for that oversight). We'll be looking into it.

    You should be able to build the sample with Visual Studio or msbuild, though. Have you tried either of those?

    .Kraig
  • 2009년 6월 12일 금요일 오전 7:55Miguel Llopis 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi Hugo,

    I am pretty sure it is a problem with locales. I guess you are trying to build this sample using a non-English locale (so that "," is not accepted for decimal and floats, it should be using "."). The fastest solution is to change your locale to English-US and then compile it. Could you give it a try and let us know if it worked?

    Thanks and apologies for the inconvenience,
    M.
    Happy Oslo Team member!
  • 2009년 6월 15일 월요일 오후 12:48Hugo Bruneliere 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi Kraig,

    I tried directly using the "msbuild" command via the command line and I got the same errors.
    As stated by Miguel in its answer, they may come from a different notation system for decimals between French and English versions.

    Anyway, thanks for your answer.

    Hugo
  • 2009년 6월 15일 월요일 오후 1:27Hugo Bruneliere 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi Miguel,

    You're probably right: is there a way to modify the ".m" file or to configure Intellipad so that it will work with my current installation?

    Hugo
  • 2009년 6월 16일 화요일 오전 1:18Miguel.LlopisMSFT사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi Hugo,

    The Northwind.m file is huge, I think it would be really painful to change every Float and Decimal value... The fastest workaround is to change your locale to English - US, compile using m.exe and mx.exe, then change back.

    Thanks,
    M.
  • 2009년 6월 16일 화요일 오전 8:25Hugo Bruneliere 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Hi Miguel,

    OK, I just did this and the project has been correctly built.

    Thanks,

    Hugo
    • 답변으로 표시됨Hugo Bruneliere 2009년 6월 16일 화요일 오전 8:26
    •  
  • 2009년 6월 18일 목요일 오전 9:08lcorneliussen 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hm. I have the same issue on a german system! Shouldn't M be CultureInvariant? !!! Are the xml-builtin-types culture invariant? (I'm not shure)