#336 Solution task has invalid base address for csc

0.85
closed-fixed
Tasks (408)
5
2005-03-17
2005-03-16
kiwidude
No

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);

Discussion

  • Gert Driesen

    Gert Driesen - 2005-03-17
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2005-03-17

    Logged In: YES
    user_id=707851

    This is now fixed in CVS.

    Thanks for the report !

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks