How to add a link to a WinForm project?

I have several winform projects in different solutions.

If I have two winform projects in the same solution, when I add the link, I go to the Projects tab and from there I can link to my other projects. But how can I refer to a winform project when it is in a different solution? There seems to be no file that I can use when browsing Windows Explorer.

Thank!

+3
source share
4 answers

Use the tab Browsein the dialog box Add Referenceand select the assembly that you want to add as a link from the file system:

enter image description here

lib , , , . lib - . , DLL. EXE.

+3

, . .

+1

You can add a project to your solution (one project can be in several solutions).

Another option is to add the compiled assembly (.exe or .dll) as a regular link.

+1
source

You need to add the project to the solution in order to add the link. You can do this by right-clicking on the solution → Add existing project.

You can easily have the same project in different solutions without any problems.

You can also add a link to the generated assembly, but you may lose some debugging capabilities.

0
source

All Articles