有没有办法从VB代码中删除Codedom中生成的代码中的项目?
例如,在我生成的所有代码的顶部,它具有:
'------------------------------------------------------------------------------ ' ' This code was generated by a tool. ' Runtime Version:4.0.30319.1 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' '------------------------------------------------------------------------------ Option Strict Off Option Explicit On
我希望这两个都消失 - 评论文本和两者Option xxx.我试过玩弄CodeGeneratorOptions,但一直无法从生成的代码中删除上述内容.
| 归档时间: |
|
| 查看次数: |
693 次 |
| 最近记录: |