user1379210
user1379210

Reputation: 17

Create multi-projects with one solution

I am a pretty know in WPF, I created three projects in one Solution, Example Project1, Project2 and Project3.

When I build solution, only Project1 that has it's own dll(Project1.dll), In Project3 need to use Project2.dll, but my Project2 and Project3 don't have it's own dll file, but in WinForm is okay.

My question is, why Project2 and Project3 don't have dll file like a Project1?

Thank in advance for any answer!

Upvotes: 0

Views: 1574

Answers (1)

niao
niao

Reputation: 5070

It is most likely that you don't have a reference added. For instance, Project1 is your startup WPF project and Project2 and Project3 are class library projects. Therefore if your Project1 does not have a reference to Project2 and Project3, the compiler will not create a corresponding dlls

Upvotes: 2

Related Questions