[Mono-bugs] [Bug 45708][Maj] New - CSharpCodeCompiler broken on win32

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 1 Jul 2003 16:12:25 -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 pelle.johnsen@mail.dk.

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

--- shadow/45708	Tue Jul  1 16:12:25 2003
+++ shadow/45708.tmp.17779	Tue Jul  1 16:12:25 2003
@@ -0,0 +1,66 @@
+Bug#: 45708
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: win 2k
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pelle.johnsen@mail.dk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CSharpCodeCompiler broken on win32
+
+Description of Problem:
+
+Mono.CSharpCodeCompiler is broken on win32 in 0.25. It uses single quotes 
+(') to pass arguments to mcs - this fails on win32.
+
+Steps to reproduce the problem:
+1. Start XSP with mono (not .NET)
+2. Load index page
+
+Actual Results:
+
+Exception when xsp tries to compile the generated .cs file:
+
+System.IO.FileNotFoundException: File
+'C:\DOCUME~1\pelle\LOCALS~1\Temp\tmp2cf94b11.dll' not found.in (unmanaged)
+06 System.Reflection.Assembly:LoadFrom (string)in <0x00004> 06
+System.Reflection.Assembly:LoadFrom (string)in <0x00387> 00
+Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
+(System.CodeDom.Compiler.CompilerParameters,string[])in <0x0030e> 00
+Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit
+[]
+)in <0x0005b> 00 Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom
+(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
+i
+n <0x0013d> 00 System.Web.Compilation.CachingCompiler:Compile
+(System.Web.Compilation.BaseCompiler)in <0x00064> 00
+System.Web.Compilation.BaseCompiler:GetCompiledType ()in <0x0013a> 00
+System.Web.Compilation.AspGenerator:GetCompiledType ()in <0x00068> 00
+System.Web.UI.ApplicationFileParser:GetCompiledApplicationType
+(string,System.Web.HttpContext)in <0x00045> 00
+System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext)in
+<0x00031> 00 System.Web.HttpApplicationFactory:InitializeFactory
+(System.Web.HttpContext)in <0x000c4> 00
+System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)in
+<0x00142> 00 System.Web.HttpRuntime:InternalExecuteRequest
+(System.Web.HttpWorkerRequest)
+
+
+Expected Results:
+
+Proper rendering of page.
+
+How often does this happen? 
+
+Alwyas
+
+Additional Information: