alasif
alasif

Reputation: 41

Programmatically add c# class to project

How can I add C# class to my project programmatically in design mode? (like code generator)

Upvotes: 4

Views: 1964

Answers (2)

Jalal
Jalal

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

Panawat Wong-Kleaw
Panawat Wong-Kleaw

Reputation: 68

You could use macro. It can do anything to VS IDE.

Upvotes: 1

Related Questions