Bugs item #1531844, was opened at 2006-07-31 16:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1531844&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: chilang (chilang)
Assigned to: Nobody/Anonymous (nobody)
Summary: regasm failed on unregistering for COM interop projects

Initial Comment:
I have a project with RegisterForComInterop="true" that
fails when building with NAnt  (nightly, 2006-07-23)
using Solution task. 

The unregistering task ie. regasm fails with return
code 100. It looks like that when unregistering with
regasm the /tlb flag is uneccessary added causing the
failure. 

Changing RegAsmTask.cs to handle this case seems to
solve the issue for me :

if (TypeLib != null && !Unregister) {
               
_arguments.AppendFormat(CultureInfo.InvariantCulture,
                    " /tlb:\"{0}\"", TypeLib.FullName);
            }


Attached is the fixed RegAsmTask.cs (based on nightly,
2006-07-23)


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

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to