How To Reference An Assembly Which Is Built Against Version 'v2.0.xxx' Of The Runtime In Ironpython 2.7?
I am trying to create wrapper for an assembly (thirdPartyDLL) which was built against version 'v2.0.50727' of the runtime. But whenever I try to reference it in IronPython code, it
Solution 1:
Solved it by making changes in my PythonApp.exe.config file.
<?xml version="1.0" encoding="utf-8"?><configuration><startupuseLegacyV2RuntimeActivationPolicy="true"><supportedRuntimeversion="v4.0"sku=".NETFramework,Version=v4.x.x"/></startup></configuration>
If you don't have an config file, then just create a .config file with the same name as your python app name.
Post a Comment for "How To Reference An Assembly Which Is Built Against Version 'v2.0.xxx' Of The Runtime In Ironpython 2.7?"