[Python.NET] How to Compile python for .Net in VS 2010 in .Net 4.0

Rama Nanditha Danda fa9490 at wayne.edu
Mon Mar 25 15:23:30 CET 2013


I downloaded from SVN, and tried to compile it in VS2010.I have Python 2.6.6 version on 64 bit windows 7.
I changed projects framework t0 4.0 
I changed clrmodule.il version to 4:0:0:0
changed post build events command line to %windir%\Microsoft.NET\Framework\v4.0.30319\ilasm /nologo /dll /quiet /output="$(TargetDir)clr.pyd" "$(ProjectDir)clrmodule.il"
 I made above changes and rebuilded it.Python.exe is closing when i hit clr.AddReference
Could anyone , please guide me here.
Thank you,
Rama Danda

More information about the PythonDotNet mailing list