Hosting a WCF service in Mono console application on Mac Os X -


when try host wcf service, works in windows, in mono console application following error (*):

an element same key exists in dictionary.

i don't @ why happening or need fix this. has experienced or can point me in right direction?

i using mono 2.10.8 on mac running os x 10.6.8.

*stacktrace:

 @ system.collections.objectmodel.keyedcollection`2[system.type,system.servicemodel.description.ioperationbehavior].insertitem (int32 index, ioperationbehavior item) [0x0003a] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/corlib/system.collections.objectmodel/keyedcollection.cs:168    @ system.collections.generic.keyedbytypecollection`1[system.servicemodel.description.ioperationbehavior].insertitem (int32 index, ioperationbehavior kind) [0x00000] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.collections.generic/keyedbytypecollection.cs:70    @ system.collections.objectmodel.collection`1[system.servicemodel.description.ioperationbehavior].add (ioperationbehavior item) [0x0000c] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/corlib/system.collections.objectmodel/collection.cs:74    @ system.servicemodel.description.contractdescriptiongenerator.getorcreateoperation (system.servicemodel.description.contractdescription cd, system.reflection.methodinfo mi, system.reflection.methodinfo servicemethod, system.servicemodel.operationcontractattribute oca, system.type asyncreturntype, boolean iscallback, system.type givenservicetype) [0x00511] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel.description/contractdescriptiongenerator.cs:350    @ system.servicemodel.description.contractdescriptiongenerator.filloperationsforinterface (system.servicemodel.description.contractdescription cd, system.type exactcontracttype, system.type givenservicetype, boolean iscallback) [0x00131] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel.description/contractdescriptiongenerator.cs:240    @ system.servicemodel.description.contractdescriptiongenerator.getcontractinternal (system.type givencontracttype, system.type givenservicetype, system.type servicetypeforcallback) [0x001ed] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel.description/contractdescriptiongenerator.cs:190    @ system.servicemodel.description.contractdescriptiongenerator.getcontract (system.type givencontracttype, system.type givenservicetype, system.type servicetypeforcallback) [0x00000] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel.description/contractdescriptiongenerator.cs:136    @ system.servicemodel.description.contractdescriptiongenerator.getcontract (system.type givencontracttype, system.type givenservicetype) [0x00000] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel.description/contractdescriptiongenerator.cs:131    @ system.servicemodel.description.contractdescriptiongenerator.getcontract (system.type contracttype) [0x00000] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel.description/contractdescriptiongenerator.cs:101    @ system.servicemodel.description.contractdescription.getcontract (system.type contracttype) [0x00017] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel.description/contractdescription.cs:66    @ system.servicemodel.servicehost.addserviceendpoint (system.type implementedcontract, system.servicemodel.channels.binding binding, system.uri address, system.uri listenuri) [0x00022] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel/servicehost.cs:96    @ system.servicemodel.servicehost.addserviceendpoint (system.type implementedcontract, system.servicemodel.channels.binding binding, system.uri address) [0x00000] in /private/tmp/monobuild/build/build/mono-2.10.8/mcs/class/system.servicemodel/system.servicemodel/servicehost.cs:85    @ consoleapplication3.program.main (system.string[] args) [0x0002b] in /users/steven/software/abc cloud/noosphere/mono.host/main.cs:16  

this bug in mono , has been fixed in mono-2.10.9 (mac updated) , mono android 4.2.7


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -