Programmatically add c# class to project
How can I ad开发者_Go百科d C# class to my project programmatically in design mode? (like code generator)
You could use macro. It can do anything to VS IDE.
You can create a Add-In for Visual Studio. Look at this sample code from Microsoft which programmatically creates a project item (class).
精彩评论