DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34992>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34992

           Summary: <csc> /noconfig option is ignored when stored in the
                    response file
           Product: Ant
           Version: 1.6.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


I've been trying to compile a compact framework library with the csc task. To do
this I need to pass the '/noconfig' option. Unfortunately, MS .NET 1.1 csc
compiler ignores the option when it is stored in the response file and the
compile fails:

 [csc] warning CS2023: Ignoring /noconfig option because it was specified in a
response file

I've modified two files (I'll attach the diffs):

- 'org.apache.tools.ant.taskdefs.optional.dotnet.DotNetCommand'
  There is another list whose elements will always be on the command line ( and
not in the resource file )

- 'org.apache.tools.ant.taskdefs.optional.dotnet.CSharp'
  The '/noconfig' option is added to the new list property and will always be on
the command line

I haven't tested this out with other compiles (ie. mcs)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to