Search code examples
c#visual-studioclass-library

How to create new project for current class library without having to create a solution?


I have setup an class library project in visual studio so I can make a custom hyperlink [the built in one doesn't have what i need]. I want to now make a demo project to test it but I want to be able to do it without having to create a whole new project. How can I do that?


Solution

  • For what you want you just need to create a new project in the same solution.

    If the solution is not seen in the Solution Explorer, you can enable the option to always show it here:

    1. Open the Tools menu.
    2. Press the Options item.
    3. Expand the Projects and Solutions tree node and select the General tree node.
    4. Tick the Always show solution check box.

    Now you can just right-click your solution in the Solution Explorer and press Add and New project.

    MSDN Reference to adding projects to a solution: https://msdn.microsoft.com/en-us/library/ff460187(v=vs.100).aspx