<div dir="ltr">Hi Jon,<div><br></div><div>add clr.AddReference("System.Collections") to your code before the import. I'll take a look at why that warning message doesn't have the correct assembly name.</div>
<div><br></div><div>cheers,</div><div>Tony</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 9, 2014 at 12:36 PM, John Gill <span dir="ltr"><<a href="mailto:jgill@tokiomillennium.com" target="_blank">jgill@tokiomillennium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">I just upgraded to pythonnet 2.0 – thanks to “pip install –pre pythonnet”  
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks for making that work.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am now getting these deprecation warnings:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">The module was found, but not in a referenced namespace.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Implicit loading is deprecated. Please use clr.AddReference("System.Collections.Generic.List").<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">from System.Collections.Generic import List<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When I try suppressing this as suggested I get an error due to being unable to find the System.Collections.Generic.List assembly.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Wondering how we are supposed to handle this in the future?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">John<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">PS anyone heading to PyCon?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><i><u></u><u></u></i></b></p>
</div>
<p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font face="Calibri">This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to <a href="mailto:postmaster@tokiomillennium.com" target="_blank">postmaster@tokiomillennium.com</a> and then permanently delete the email and any attachments from your system.</font></p>
<p style="MARGIN:0in 0in 10pt" class="MsoNormal"></p><p><font face="Calibri"> </font></p><p></p><p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font face="Calibri">E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses.</font></p>
<p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font face="Calibri">******************************************</font></p><p>
</p></div>

<br>_________________________________________________<br>
Python.NET mailing list - <a href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/pythondotnet" target="_blank">https://mail.python.org/mailman/listinfo/pythondotnet</a><br></blockquote></div><br></div>