Closed johnsimons closed 9 years ago
Also, the dialogs do not warp the text so the long text gets cut
Related to #327
What should the max length be? There are technical limits for identifiers (e.g. an identifier length cannot be longer than 511 chars http://stackoverflow.com/questions/186523/what-is-the-maximum-length-of-a-c-cli-identifier) but some of these identifiers will become part of paths and thus hit the 260 char limit in the compiler (https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2156195-fix-260-character-file-name-length-limitation).
Visual studio will take the resulting path length into account when adding an item and warns accordingly:
However with the more complex code generation in SM, each component is individually generated after the identifier has been accepted, potentially as part of a different operation (e.g. adding security results in new code being generated), so it's not always possible to completely validate that the supplied identifier would result in going over the file length limit unless all possible code generation from that point on was taken into account.
Relates to #327. Fixed in #372
An error message is displayed, "path too long". When the endpoint name is too long, it crashes
Exception Details: