如何引用在Visual Studio 2010中的C#类库项目?
我是新来的Visual Studio,并想知道如何安装Visual Studio 2010中,这样我可以参考我的C#Windows类库项目?我现在有2个项目的解决方案 - C#库项目和单元测试项目。
I am new to visual studio and was wondering how to setup visual studio 2010 so that I can reference my C# windows class library project? I currently have a solution with 2 projects - C# library project and a unit test project.
什么是创建将使用这个库中的多个客户端的最佳方法是什么?他们应该是在库解决方案自己的解决方案,或只是一个项目呢?我如何从引用库项目的项目使用的类的库函数?
What is the best way to create multiple clients that will use this library? Should they be their own solution or just another project in the library solution? How do I use the classes in the library function from the project that references the library project?
您可以通过执行在Solution Explorer中引用节点上单击鼠标右键并选择REQ引用添加到库中。 LIB ...
You can add a reference to a library by doing a rightclick on the references node in the solution explorer and selecting the req. lib...
当你消耗的应用程序都位于同一个解决方案,我将preFER也将lib中SLN内内,否则我会用一个额外的SLN
When all you consuming apps are located within the same solution I would prefer to place the lib also inside the sln, otherwise I would use an extra sln