Reputation: 41
How can I add C# class to my project programmatically in design mode? (like code generator)
Upvotes: 4
Views: 1964
Reputation: 6836
You can create a Add-In for Visual Studio. Look at this sample code from Microsoft which programmatically creates a project item (class).
Upvotes: 1