c# - System.Net.Sockets missing in ASP.NET dotnet framework? - ASP.NET vNext -


prologue: made "web class library" support new clr 5.0 introduced asp.net vnext, , 1 of features need use networkstream class in system.net.sockets. problem that, somehow, can't "reference" system.net.sockets in project.json file of class library. intellisense has 1 suggestion under system.net , it's system.net.webheadercollection. can reference in project.json of console application made test class library. class library uses dotnet framework , console application uses dnxcore50 , dnx451 frameworks, might compatibility issue (but understand, dotnet meant more broad framework applications needed support of frameworks).

another weird issue noticed (the icing on cake) whenever open project fresh (only happens if visual studio open fresh well, guess because project loading up?) networkstream , tcpclient classes show in blue text, showing they're recognized. if hover on them, shows me namespace, they're legitimate.

if there's can do, please suggest. i've tried restoring packages, rebuilding, restoring packages cmd (for added affect), attempting install package nuget, , restarting computer , programs involved.

attachments:

  • the project.json(s): http:/www.pastebin.com/xjksrgv9

you can use package search website see if type available coreclr.

add reference sytem.private.networking.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -