Thanks for the tip, Martin, but what I'm trying to do is to build my c# code 
and, having read nant doc several times, I thought using csc task would be the 
best way. /pdb (Specify Debug Symbol File) (C# Compiler 
Options)http://msdn.microsoft.com/en-us/library/ms228625.aspx C# 2005 compiler 
csc.exe has /pdb option which allows me to explicitly set a user-specified name 
to the pdb file. With nant's 'debug' attribute in csc task, I can have a 
debug/release version of an assembly and also a pdb file. However, I don't seem 
can find a way to set a non-default file name and/or location to the .pdb file. 
Now my question still remains. Does nant's csc task have something that allows 
me to do so, or is it something that has not been implemented, or should I just 
go with exec task (it seems plausible for me at the moment, but I am not 100% 
sure) Henry


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Re: [NAnt-users] 
Equivalent of c# compiler /pdb option in csc taskDate: Mon, 9 Jun 2008 19:45:32 
-0400



Hi HenryIts a  option of the microsoft link 
commandhttp://msdn.microsoft.com/en-us/library/y0zzbyt4(VS.80).aspxwhich can be 
invoked with the exec tag 
http://nant.sourceforge.net/release/latest/help/tasks/exec.html
<exec program="link.exe">
    <arg value="/PDB:{filename|NONE} /OUT: yourexe.exe lib1.lib lib2.lib" />
</exec>
HTHMartin--

----- Original Message ----- 
From: Henry 
To: nant-users@lists.sourceforge.net 
Sent: Monday, June 09, 2008 12:47 PM
Subject: [NAnt-users] Equivalent of c# compiler /pdb option in csc task
Firstly, I just started using nant recently so apologies if this question has 
been asked many times before. C# command line compiler has an option 
/pdb:[filename] to explicitly specify a name to .pdb file.  How do I do it with 
nant? Thanks in advance, Henry  

Enjoy 5 GB of free, password-protected online storage. Get Windows Live 
SkyDrive. 



-------------------------------------------------------------------------Check 
out the new SourceForge.net Marketplace.It's the best place to buy or sell 
services forjust about anything Open 
Source.http://sourceforge.net/services/buy/index.php 



_______________________________________________NAnt-users mailing [EMAIL 
PROTECTED]://lists.sourceforge.net/lists/listinfo/nant-users
_________________________________________________________________
Instantly invite friends from Facebook and other social networks to join you on 
Windows Liveā„¢ Messenger.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to