[Mono-bugs] [Bug 75218][Nor] New - [PATCH] C# CodeDom support for
win32 resources
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jun 10 14:13:24 EDT 2005
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 gert.driesen at pandora.be.
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: mono-bugs at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+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.
More information about the mono-bugs
mailing list