How to modify c# class from IWizard RRS feed

  • Question

  • Hi,

    Is there a way i can modify a c# class (i know the name/path of class, and the class is not the same as item being added) and add an attribute to one of the method(name is fixed) in that class?

    It is something like, when i run code analysis from visual studio; i can select any reported error and do "supress message in code". This will go and add attribute in C# code(without modifying anything else in that class). I want to do similar thing, from IWizard I want to add an attribute to some class.


    Wednesday, September 28, 2011 6:23 PM