> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Wang, Jason @ Newport MacArthur
> Sent: woensdag 27 juli 2005 3:18
> To: '[email protected]'
> Subject: [Nant-users] asminfo and ComVisibleAttribute
> 
> Hi All,
> 
>  
> 
>             I know that having <attribute type="ComVisible" 
> value="true" /> wouldn't work because ComVisible isn't a 
> valid type , however, what if I want to have [assembly: 
> ComVisible(true)] outputted instead of [assembly: 
> ComVisibleAttribute(true)]?  For me, I actually want to set 
> the value to true and [assembly: ComVisibleAttribute(true)] 
> just doesn't seem to work for me.  In other words, when I try 
> to register the assembly, I get a message that says "(Classes 
> must be public, concrete, have a public default constructor, 
> and meet all other ComVisibility requirements)".  On a side 
> note, I'm compiling using .Net 2.0

That should be working just fine. Do you have a small repro you can share ?

Gert



-------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to