Compiling new type in PowerShell v2 - Cookie Aware WebClient
The second reference to CookieContainer
with the constructor expression is fully qualified. The first reference, when declaring the field m_container
is not. Make both fully qualified so Powershell can find them
private System.Net.CookieContainer m_container = new System.Net.CookieContainer();