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=75218

--- shadow/75218        2005-06-10 14:13:24.000000000 -0400
+++ shadow/75218.tmp.30109      2005-06-10 14:13:24.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 75218
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] C# CodeDom support for win32 resources
+
+Mono's C# CodeGenerator reports that it does not support Win32 resources, 
+but if I recall correctly win32 resources are actually supported by the 
+runtime and mcs.
+
+However, the C# CodeDom does not pass the win32 resource file on to mcs.
+
+To reproduce (a small part of) this issue, compile and run the following 
+code snippet:
+
+using System;
+using System.CodeDom.Compiler;
+using Microsoft.CSharp;
+
+public class EntryPoint {
+  public static void Main () {
+    CSharpCodeProvider provider = new CSharpCodeProvider ();
+    ICodeGenerator generator = provider.CreateGenerator ();
+    Console.WriteLine("Supports Win32 resources=" + 
+      generator.Supports (GeneratorSupport.Win32Resources));
+  }
+}
+
+Actual result:
+
+Supports Win32 resources=False
+
+Expected result:
+
+Supports Win32 resources=True
+
+I'll attach a patch to correct this and I'll commit an ignored unit test 
+to svn later.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to