[Python.NET] How to compile Python for .Net in VS2010 and .NET 4?

Seungweon Park swpark71 at gmail.com
Fri Mar 22 23:28:27 CET 2013


Hello,

I downloaded from SVN, and tried to compile it in VS2010 with Windows 2008
R2. However, it requires Mono.Unix reference in error message. so I
installed mono(mono-2.10.9-gtksharp-2.12.11-win32-0.exe from
http://www.go-mono.com/mono-downloads/download.html. And added
Mono.Posix.dll as reference, and compiled again, got error. FYI, I selected
build option as DebugWin/x86.

------------------------------------------------------------------------------
The command "call "buildclrmodule.bat" x86 "c:\cvs\pythonnet\src\runtime\"
"c:\cvs\pythonnet\src\runtime\bin\x86\release\clr.pyd"
copy "c:\cvs\pythonnet\src\runtime\bin\x86\Release\Python.Runtime.dll"
"c:\cvs\pythonnet\"
copy "c:\cvs\pythonnet\src\runtime\bin\x86\Release\*.pdb" "c:\cvs\pythonnet"
copy "c:\cvs\pythonnet\src\runtime\bin\x86\Release\clr.pyd"
"c:\cvs\pythonnet"
" exited with code 1."
------------------------------------------------------------------------------
Any idea?

Thanks,
spark.

[image: Inline image 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20130322/f9937318/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 44794 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20130322/f9937318/attachment-0001.png>


More information about the PythonDotNet mailing list