Hi,

I want to set the ComVisible attribute to false. It is
defined in System.Runtime.InteropServices. So I added an
import tag for that assembly to asminfo's imports. I also
added '<attribute type="ComVisibleAttribute" value="false"
/>' to the attributes node. The task now genereates
'[assembly: ComVisibleAttribute(false)]' which should be
'[assembly:ComVisible(false)]'.

If I leave the Attribute away in the attribute node, I get
the error 'Assembly attribute with type ComVisible could not
be loaded.'.

How to use ComVisible in asminfo?

-sa

-- 
sa at programmers-world dot com
http://www.livingit.de
Bookmarks online: http://www.mobile-bookmarks.info
                  Soon available in english

Reality is a cop-out for people who can't handle drugs.


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to