[Mono-bugs] [Bug 48071][Maj] New - MCS cannot compile code generated by the VS Web Services WSDL wizard

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 1 Sep 2003 08:09:16 -0400 (EDT)


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 gkodinov@openlinksw.co.uk.

http://bugzilla.ximian.com/show_bug.cgi?id=48071

--- shadow/48071	2003-09-01 08:09:16.000000000 -0400
+++ shadow/48071.tmp.28872	2003-09-01 08:09:16.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 48071
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: Redhat 9/x86
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gkodinov@openlinksw.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS cannot compile code generated by the VS Web Services WSDL wizard
+
+Please find attached the code generated by the VS SOAP WSDL import for the
+RedCoal SMS interface.
+
+The VS will compile that no problem, but the MCS :
+1) requres a reference to System.Web.Services (/r:System.Web.Services)
+2) refuses to compile it saying :
+$ mcs /t:library /debug:full /out:redcoalsms.dll /r:System.Web.Services
+redcoalsms.cs redcoalsmsref.cs 
+redcoalsmsref.cs(24) error CS0592: Attribute
+'System.Diagnostics.DebuggerStepThroughAttribute' is not valid on this
+declaration type. It is valid on 'constructor' 'method' 'property'
+declarations only.
+Compilation failed: 1 error(s), 0 warnings
+
+
+Whereas on Win32 the following works fine (no errors, dll produced) :
+c:>csc /out:redcoalsms.dll redcoalsms.cs redcoalsmsref.cs