开发者

Programmatically add c# class to project

开发者 https://www.devze.com 2023-03-03 09:25 出处:网络
How can I ad开发者_Go百科d C# class to my project programmatically in design mode? (like code generator)You could use macro.

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消