Visual Studio Code Analysis for Generated Files

Can someone tell me why code analysis shows problems from the generated files? I am checking the option like here: http://msdn.microsoft.com/en-us/library/dd742298.aspx

I think this is due to the fact that I am using TT tempate with Entity models. But these files have tags on them.

+3
source share
1 answer

Can you have your TT templates print the following in the title?

//<autogenerated/>

Or, to be more specific for certain elements in the file:

[GeneratedCode("MyTool", "1.0")]
public partial class GeneratedModel
{
...
+3
source

All Articles