Great piece of work! Very helpful for Nant newbies, IMO.

However, the description you gave for the gac task is not correct. The
layout of the GacTask have changed somewhat, while the documentation has
remained the same ;-). Instead of an boolean uninstall attribute, there
is now a action attribute, which can have three values: install (the
default), overwrite, or uninstall. So instead of using 

<gac assembly="filename" uninstall="true"/>

One should use

<gac action="uninstall" assembly="filename"/>

You can also use a fileset of assemblies:

<gac action="overwrite">
        <assemblies basedir="somedir">
                <includes name="**/*.dll"/>
        </assemblies>
</gac>

Thanks again,

Arjen

-----Original Message-----
From: Soumitra Bajpai [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2003 4:08 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] This is a mail that explains the various nAnt
tasks and their progress


Dear All,

I have been following nAnt over the last two months and I thought maybe
by sending a digest of the various commonly needed tasks their
development status and how to use them. 

[snip]

GAC Task    

 Helps you add/remove/overwrite  assemblies  from  the global assembly. 
                     
                     Installing 

                    <gac assembly="<filename>.resources.dll"/> or 
                    <gac assembly="<filename>.dll"/>        

                      Uninstalling 
                     <gac assembly="filename.resources"
uninstall="true"/> or 
                     <gac assembly="filename" uninstall="true"/>

Note: To add files to the global assembly they must be strongly signed 

[snip]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to