Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't Add Reference to Visual C# Console App in Visual Studio

I have created a Visual C# Console App and I am trying to add reference to resolve an error. Since I am new to the IDE and I am looking for some help on how to add the Reference via the editor. I am trying to connect to Azure Storage via this app.

Attaching the screen shot.

I used the general resolution saying

  1. In Solution Explorer, double-click the My Project node for the project.
  2. In the Project Designer, click the References tab.

But I am not seeing the References tab to add Reference.

enter image description here

like image 967
Abhi Avatar asked Dec 13 '22 18:12

Abhi


2 Answers

Thanks for help. First place I was supposed to create a 'Console App (.Net Framework' instead I mistakenly chose Console App (.NET Core). Now I am ble to see the Refrences. Thanks for the help.

enter image description here

like image 83
Abhi Avatar answered Jan 31 '23 01:01

Abhi


First of all switch the Solution Explorer view by clicking button in the header as shown in the below image:

enter image description here

After that you will find the "References" node in the tree. Right click and then choose Add Reference

enter image description here

References:
Managing references in a project
How to: Add or Remove References By Using the Add Reference Dialog Box

like image 32
Niranjan Singh Avatar answered Jan 31 '23 03:01

Niranjan Singh