This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
hey - i see from this thread http://www.mindscape.co.nz/forums/Post.aspx?ThreadID=3194&PostID=10544 that there's a codegenerationoptions attribute.
Warning 5 The 'codeGenerationOptions' attribute is invalid - The value '0' is invalid according to its datatype 'http://namespaces.mindscape.co.nz/lightspeed:CodeGenerationOptions' - The Enumeration constraint failed. C:\Dev\Xero\xero\bankfeed\trunk\project\Secure\BankFeedService\Model.lsmodel 2 385 BankFeedService using LS 3.1 official release. not quite sure how to repro at the moment but I've seen it more than once. definitely happening on editing existing models from LS 3.0. I can open up the model as xml and remove the offending attribute but just letting you know...
|
|
|
Thanks for letting us know about this. This is a (spurious) schema validation error which you may see when loading a .lsmodel file. It won't affect the build, because only the generated C# or Visual Basic code takes part in the actual build: what you're seeing in the Errors window is a warning that is hanging around from when you viewed the file. If you look in the Output window you should see that your build is actually clean. Nevertheless, it's obviously irritating and we'll see if we can make it go away! |
|
|
Okay, this should be fixed in the next nightly build (27 May). You'll still see a warning when you first load a file that was reporting the problem before, but once you make a change and save again, the warning should go away. Let us know if you still see the problem. |
|