Robert
Robert

Reputation: 1794

Unable to add references to ASP.NET Core 1.1 application

I looked at Trying to add reference to project in visual studio 2012 no items found and this appears to be dead on with what I'm experiencing except I'm using Visual Studio 2017. Except I don't see anything General/CLR related in properties (I think that is because the initial question is in reference to a desktop application of some sort).

I'm attempting to add System.Net.Mail, but Dependencies -> Add References for Projects, Projects - Solution, Shared Projects, Shared Projects - Solution, Browse, and Browse Recent are show "No items found."

If I click the parents (Projects/Shared Projects/Browse) or their lone children, this is what I see:

What the popup shows.

Upvotes: 0

Views: 194

Answers (1)

TerribleDev
TerribleDev

Reputation: 2245

System.Net.Mail is included in the dotnet core 2.0 SDK. If you look its already referenced. However, according to this github issue System.Net.Mail is more compact in core, and if you want something with a lot more features you should consider mailkit, or other packages.

Upvotes: 1

Related Questions