Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 Solution task has invalid base address for csc - ID: 1164709
Last Update: Comment added ( drieseng )

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


kiwidude ( grant_drake ) - 2005-03-16 19:01

5

Closed

Fixed

Gert Driesen

Tasks

0.85

Public


Comment ( 1 )

Date: 2005-03-17 07:36
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This is now fixed in CVS.

Thanks for the report !


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2005-03-17 07:36 drieseng
resolution_id None 2005-03-17 07:36 drieseng
assigned_to nobody 2005-03-17 07:36 drieseng
close_date - 2005-03-17 07:36 drieseng