Bugs item #1164709, was opened at 2005-03-16 19:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1164709&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: kiwidude (grant_drake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution task has invalid base address for csc

Initial Comment:
The following applies to 0.85RC2:
csc expects a hexadecimal base addresses to be 
specified using this syntax:

        /baseaddress:0x<hexnumber>

NAnt currently generates this:

        /baseaddress:<hexnumber>

The base address is then interpreted as a decimal 
number. If the hexadecimal base address contains any 
a-f "digits", error CS2013 is reported. (The default base 
address 0x11000000 works fine, except that it is not 
interpreted correctly.) We've modified the 
NAnt.VSNet\ConfigurationSettings.cs file thus:

    value = intvalue.ToString("x", 
CultureInfo.InvariantCulture);

to

    value =
        (project.Type == 
ProjectType.CSharp ? "0x" : "")
        + intvalue.ToString("x", 
CultureInfo.InvariantCulture);

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1164709&group_id=31650


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to