开发者

IronPython - DynamicWebServiceHelpers.dll in linux?

开发者 https://www.devze.com 2023-02-17 18:19 出处:网络
The examples shown in the IronPython sample scripts show the ability to use DynamicWebServiceHelpers.dll as so:

The examples shown in the IronPython sample scripts show the ability to use DynamicWebServiceHelpers.dll as so:

 import clr
 clr.AddReference('DynamicWebServiceHelpers.dll')
 import DynamicWebServiceHelpers

This does not howev开发者_如何学Goer work...

 IOError: Could not add reference to assembly DynamicWebServiceHelpers

So I tried to find and build DynamicWebServiceHelpers myself - but could find little to no help on google; long story short I couldn't get the vsproj file to build properly.

I've tried this in IronPython 2.6, 2.0, Iron Python Community Edition 2 and none of them work on linux. In fact the file DynamicWebServiceHelpers.dll isn't even present on Linux installs.

How in the world do you find/use the DynamicWebServiceHelpers module on linux with IronPython?


DynamicWebServiceHelpers is one of the sample projects for IronPython. You are correct in that you would have to build it from source. In looking at the source code, all of the referenced C# assemblies/namespaces should have Mono support.

Make sure you have the most recent version of Mono installed along with Ironpython 2.7.

This forum talks about converting project files and or using MonoDevelop. See also this question And check out MonoDevelop

I would recommend trying again with MonoDevelop 2.4, Ironpython 2.7 and Mono 2.10.xx and posting a new question with any specific issues you have in building DynamicWebServiceHelpers.dll

0

精彩评论

暂无评论...
验证码 换一张
取 消