我正在使用CodeCompileUnit
并CSharpCodeProvider
生成一些源代码.它将下面的标题添加到所有生成的代码中.有没有办法自定义评论,所以它说了别的什么?
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
Run Code Online (Sandbox Code Playgroud)