[Python.NET] .net 2.0 - pythonnet v2.4 does not recognize any of .net 2.0 assemblies

Seshagiri Cherukuri seshagiri.cherukuri at gmail.com
Mon Dec 4 21:50:47 CET 2006


hi All,

I have just installed Pythonnet v2.4 and was trying to work with .net
2.0assemblies, it is not able to recognize any of the .net
2.0 assemblies either those in GAC or those not in GAC.

Here are the problems I am seeing ( I am running the standalone pythonnet):
1. The readme files at http://pythonnet.sourceforge.net/readme.html mentions
that you dont have to use the CLR.System kind of namespace anymore. However
if I write something like

from System import String

There is an error which says "No module named System"

2. When using .net 2.0 assemblies, even the CLR.xxx syntax is not working
- there is always an error which says "No module named xxx"

3. Not able to use any of the .net stuff - e.g. from
CLR.System.Collections.Generic does not work because it is not able to see
the module Generic.

Am I doing something wrong? The 2.4 installation was obtained from here (
http://sourceforge.net/project/showfiles.php?group_id=162464). Do I have to
get the latest code instead of these installers to be able to use the .net
2.0 and other features?

Looking forward to your reply.

Seshagiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20061204/d36ca74c/attachment.html 


More information about the PythonDotNet mailing list