Search code examples
visual-studio-2017

Add Reference option missing from Solution Explorer


I'm using Visualstudio 2017 and need to add a reference for System.IO.Ports. However I can't find the Add Reference option (in any right-click menu in the solution explorer) nor instructions on how to do this. Help please? Thank you


Solution

  • The steps to Add a Reference in Visual Studio is:

    1. Go to the Project option in the top toolbar.

    2. Add Reference option(Roughly the 10th option from top).

    3. In the reference manager choose the appropriate reference that you want.

    I am using Visual Studio 2015 community edition but I believe the process is same for 2017 edition.