Silverlight: "The type or namespace name" CookieContainer "does not exist in the namespace" System.Net ""

I am running VS2010 pro and I have downloaded a sample Silverlight application written in an older version. I did the conversion, but now when I go to start it, I get this error. I searched the network, the only recommendation I found was to add a link to "System.Net" (which didn’t make sense, but I still did), but it didn’t help. Violation Code:

public System.Net.CookieContainer CookieContainer {...
+3
source share
2 answers

DLL System.Net , , , . , 2.0.5.0 - - : -

c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll

+1

CookieContainer : : System.Net Assembly: ( System.dll) : 4, 3.5 SP1

CookieContainer .

, System.net.

0

Source: https://habr.com/ru/post/1763995/


All Articles