Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75323 --- shadow/75323 2005-06-20 11:08:41.000000000 -0400 +++ shadow/75323.tmp.17295 2005-06-20 12:56:14.000000000 -0400 @@ -1,23 +1,23 @@ Bug#: 75323 -Product: Mono: Class Libraries +Product: Mono: Runtime Version: 1.1 OS: unknown OS Details: Status: REOPENED Resolution: Severity: Unknown Priority: Normal -Component: Sys.Web.Services +Component: misc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: Cc: -Summary: Problem with WebServices and XML Serialization on client side +Summary: Failure in MS.NET compiled assembly when trying to load a type I've got since a week (it use to work very well) an exception when I call the constructor of my WService... (i'm working with the today's svn version of mono/mcs) I just Call : @@ -201,6 +201,65 @@ ------- Additional Comments From [EMAIL PROTECTED] 2005-06-20 11:08 ------- Created an attachment (id=15347) It fails event with a console project... (VS project included) + +------- Additional Comments From [EMAIL PROTECTED] 2005-06-20 12:56 ------- +The test case only fails if you run the MS compiled assembly. It works +fine if you compile the application with mcs. I'm moving the bug to +Runtime since it is a loader issue. + +This is a more simple test case that shows the problem: + +using System; + +using System.Xml.Serialization; + + + +namespace ConsoleApplication + +{ + + [XmlInclude (typeof(Test))] + + class Class1 + + { + + static void Main(string[] args) + + { + + object[] ats = typeof(Class1).GetCustomAttributes +(typeof(XmlIncludeAttribute), false); + + XmlIncludeAttribute at = (XmlIncludeAttribute) ats [0]; + + Console.WriteLine ("type=" + at.Type); + + } + + } + + + + public class Test + + { + + } + +} + + +When compiled with MS.NET 1.1 I get: + +** (ConsoleApplication3.exe:20813): WARNING **: Cannot load type +'ConsoleApplication3.Test' +type= + +When compiled with mcs: + +type=ConsoleApplication.Test _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
