Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 563 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 221 [details]
Incorrect Reference.cs demonstration
Create a Mono Console project and reference our test webservice.
If you try to build you get errors:
/Users/Rene/Documents/Develop/WcfTestMonoGenerated/WcfTest/Service References/NonBuildingReference/Reference.cs(9,9): Error CS0246: The type or namespace name `GetUsersResponse' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (WcfTest)
/Users/Rene/Documents/Develop/WcfTestMonoGenerated/WcfTest/Service References/NonBuildingReference/Reference.cs(9,9): Error CS0246: The type or namespace name `GetUserDataResponse' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (WcfTest)
When replacing the content of Reference.cs with the code that gets generated by Visual Studio 2008 when referencing the same service, the project builds and the web service can be used.
Attached find a Monodevelop 2.6 demo project that does not build because of the issue described above.
The project also contains the Reference.cs code as it gets genereated by Visual Studio.
Have you tried to use the Silverlight 2/3/4 svcutil.exe tool (since MonoTouch is close to what Moonlight supports) ? see comments of http://stackoverflow.com/questions/5266204/monotouch-wcf-rest-error-creating-channel