edek_5
edek_5

Reputation: 1

Divide projects to several DLL files

I've got a small but annoying problem. I've got C# project in VS 2010 with structure like this:

DL.cs
PL.cs
BO.cs
Main.cs

I need to convert the files DL.cs, PL.cs, BO.cs to the dlls. I tried to create another Class Library project and add that project and then copy one file to Class Library project, but every time I do it, it reminds me that I need to add reference to previous project. How can I do it? I suppose I need to add assembly informations but I'm newbie and I have no idea where or how...

Thx for help and sorry for my english

Upvotes: 0

Views: 367

Answers (1)

Nathan
Nathan

Reputation: 6531

How to: Add a Project Reference to a Visual Studio Web Project

Right click the References item under your project and select Add Reference. Expand the solutions tab on the left hand side and click on the Project tab. Select (tick) the project you would like to reference and click Ok.

Are you sure you want one dll per class, that seems sort of odd?

Upvotes: 1

Related Questions