How do I compile C# code as a library instead of an executable?

后端 未结 5 707
盖世英雄少女心
盖世英雄少女心 2021-01-12 02:56

I have a C# console application in Visual Studio 2010. It has a Main() method as well as a bunch of utility classes. I\'d like those utility classes to be available to other

5条回答
  •  梦毁少年i
    2021-01-12 03:55

    You can switch output type to Class library in project properties as well - then you will have an output as dll instead exe file

提交回复
热议问题