Ok,

        I've done a little more testing and found that VS2003 will allow
you to specify the path in the AssemblyKeyFile relative to the output
directory (standard but crazy) or relative to the solution directory
(preferable to me).  The <solution> task, however, only supports the
first option.  Assuming I am correct, would it be possible to make the
<solution> task behave the same as VS2003?  I a have a small example
that demonstrates this, but essentially it boils down to either of the
following work in VS2003:

[assembly: AssemblyDelaySign(true)]
#if DEBUG
// Relative to solution folder
[assembly: AssemblyKeyFile(@"keypub.snk")]
#else
// Relative to output folder
[assembly: AssemblyKeyFile(@"..\..\keypub.snk")]
#endif

But only the second works with the NAnt <solution> task.

- Tom


-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to