Bugs item #1233201, was opened at 2005-07-06 08:21
Message generated for change (Comment added) made by zchri
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1233201&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Functions
Group: 0.85
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: zchri (zchri)
Assigned to: Nobody/Anonymous (nobody)
Summary: assemblyname::get-version does not work properly

Initial Comment:
The assemblyname::get-version function does not work,
cause it takes a string as argument which is not
converted automatically into an AssemblyName. The
resulting error message is:

Cannot convert argument 1 (assemblyName) of
assemblyname::get-version() to 'System.
Reflection.AssemblyName' (actual type was 'string').
Expression: ${assemblyname::get-version('Assembly.Name')}

I think this applies to all other assembly-functions as
well.

nant version: 0.85-rc3.

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

>Comment By: zchri (zchri)
Date: 2005-07-06 09:12

Message:
Logged In: YES 
user_id=1307561

Ok thanks.
Than an example should be added to the documentation.

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

Comment By: Troy Laurin (fiontan)
Date: 2005-07-06 09:03

Message:
Logged In: YES 
user_id=1062940

That is the correct behaviour...  the expression you are
looking for is:

${assemblyname::get-version(assemblyname::get-assembly-name('Assembly.Name')}

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to