How do I use a C# Class Library in a project?

后端 未结 9 2081
北恋
北恋 2020-11-28 05:23

I\'ve created a new Class Library in C# and want to use it in one of my other C# projects - how do I do this?

9条回答
  •  广开言路
    2020-11-28 05:56

    You need to add a reference to your class library from your project. Right click on the references folder and click add reference. You can either browse for the DLL or, if your class libaray is a project in your solution you can add a project reference.

提交回复
热议问题