Closed ryanlewis closed 9 years ago
Unfortunately, at the moment the parser is hard-wired to use CSharp 5. Quite easy to fix, though, so that it uses the configuration settings to decide which version of CSharp to use. Will do.
Will require the following app settings (as CSharp5 remains the default for now):
<add key="Zbu.ModelsBuilder.LanguageVersion" value="CSharp6" />
Should be fixed w/2.1.5 - with setting the above app settings in web.config. Let me know.
Took a while to reply to you, but tested today and worked a treat. \o/
Woot! Thanks for the reply!
I had a partial implementation of a model, which contained a getter which uses the new C# 6 shorthand:
When regenerating my models, I received the following error: