Reputation: 35
I am building a webAPI client project called "eCommUtility.Client", and I am trying to add a reference to the "System.Web.dll" to use HttpContext
. However, whenever I try to add a new reference, the options I get are only "add a project reference" or "add a service reference". The Project is a .Net Class Library.
Here is what is provided when right-clicking the dependencies:
Ande here are the options provided when right-clicking the project and going to the add
option:
Here are the project properties:
I am not sure if I can enable it somehow? What am I doing wrong?
Upvotes: 0
Views: 575
Reputation: 1681
When you created your project, you selected .Net Standard 2.0, not .Net Framework... They are not the same. "Add reference" is a menu you get on a .net framework project, not .net standard.
Upvotes: 0