How to load portable .NET library within Iron Python script?
问题 I have serious troubles loading a portable .NET library (to be used in standard .NET and Silverlight environment) from a Python script. .NET DLL file version is 4.0.3.319.233 (System.Core.DLL), IronPython is 2.7.1, running in 32bit/x86 mode. Visual Studio 2010 with C# under .NET 4. Microsoft .NET update KB2468871 for Portable library usage is also installed (Version 2). If I try to load the library from the Python script: clr.AddReferenceToFileAndPath(UsedPath+"\\MyNamespace\