Generated Code and CodeAnalysis

Hi, It would be nice if the code generator for “add service stack reference” emitted a [GeneratedCode] attribute on every class to avoid code analysis warmning and errors on the generated classes.

thank you
enrico sabbadin

Since it uglifies the generated code I’ve added this as a configuration option in C#, F# and VB.NET providers which you can enable by uncommenting it in the headers:

AddGeneratedCodeAttributes: True

This change is available from v4.0.41+ that’s now available on MyGet.