[Mono-bugs] [Bug 22674] New - trying to build nant with mcs gives syntax error & unhandled exception
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
28 Mar 2002 09:11:12 -0000
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 japj-bugzilla-ximian@darius.demon.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=22674
--- shadow/22674 Thu Mar 28 04:11:12 2002
+++ shadow/22674.tmp.29458 Thu Mar 28 04:11:12 2002
@@ -0,0 +1,67 @@
+Bug#: 22674
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: japj-bugzilla-ximian@darius.demon.nl
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: trying to build nant with mcs gives syntax error & unhandled exception
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Trying to build nant with mcs I get a syntax error & an unhandled exception
+
+Steps to reproduce the problem:
+1. try to build nant with mcs (under cygwin)
+2.
+3.
+
+Actual Results:
+bash-2.05a$ mcs ./src/*.cs
+syntax error, expecting ABSTRACT CLASS DELEGATE ENUM EXTERN INTERFACE
+INTERNAL NEW OVERRIDE PRIVATE PROTECTED PUBLIC READONLY SEALED STATIC
+STRUCT UNSAFE VIRTUAL VOLATILE
+./src\AssemblyInfo.cs (38,1), Token:257 : Parsing error
+Mono.CSharp.yyParser.yyException: irrecoverable syntax error
+ at Mono.CSharp.CSharpParser.yyparse(yyInput yyLex)
+ at Mono.CSharp.CSharpParser.parse()
+
+Unhandled Exception: System.ArgumentException: Assembly names may not begin
+with whitespace, or contain the characters '/' or '\'.
+ at System.AppDomain.nCreateDynamicAssembly(AssemblyName name, Evidence
+identity, StackCrawlMark& stackMark, PermissionSet requiredPermissions,
+PermissionSet optionalPermissions, PermissionSet refusedPermissions,
+AssemblyBuilderAccess access)
+ at System.AppDomain.InternalDefineDynamicAssembly(AssemblyName name,
+AssemblyBuilderAccess access, String dir, Evidence evidence, PermissionSet
+requiredPermissions, PermissionSet optionalPermissions, PermissionSet
+refusedPermissions, StackCrawlMark& stackMark)
+ at System.AppDomain.DefineDynamicAssembly(AssemblyName name,
+AssemblyBuilderAccess access)
+ at Mono.CSharp.CodeGen..ctor(String name, String output, Boolean
+want_debugging_support)
+ at Mono.CSharp.Driver.MainDriver(String[] args)
+ at Mono.CSharp.Driver.Main(String[] args)
+(null)
+bash-2.05a$
+
+Expected Results:
+bash-2.05a$ csc /recurse:*.cs
+Microsoft (R) Visual C# .NET Compiler version 7.00.9466
+for Microsoft (R) .NET Framework version 1.0.3705
+Copyright (C) Microsoft Corporation 2001. All rights reserved.
+
+How often does this happen?
+Always
+
+Additional Information: