Hey Stefan, I have not installed an assembly to the GAC yet, so I'm not 100% on that. If no one else replies in a timely manor, I'll figure it out for you, though.
As for question number 1... I'm not sure if I understand your question completely. You can assign multiple components to a single feature, but you cannot assign multiple features to a single component. An example of assigning multiple components to a single feature would be something like the following: <directories> <directory name="D__ACME" foldername="ACME" root="ProgramFilesFolder" > <directory name="D__ACME_MyProduct" foldername="My Product" /> </directory> </directories> <features> <feature name="F__Default" title="My Product" display="1" typical="true" directory="D__ACME_MyProduct"> <description>My Product from ACME, Inc. </description> </feature> </features> <components> <component name="C__MainFiles" id="{26AA7144-E683-441D-9843-3C79AEC1C636}" attr="2" directory="D__ACME_MyProduct" feature="F__Default" > <key file="default.aspx" /> <fileset basedir="${install.dir}"> <includes name="*.aspx" /> </fileset> <component name="C__SourceFiles" id="{7F46C0CC-0F9D-47af-9BF3-7C672552D69E}" attr="2" directory="D__ACME_MyProduct" feature="F__Default" > <key file="default.cs" /> <fileset basedir="${install.dir}"> <includes name="*.cs" /> </fileset> </component> </components> I hope that helps. If not, please let me know. Jim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Harms Sent: Wednesday, January 28, 2004 6:51 AM To: [EMAIL PROTECTED] Subject: [NAntC-Dev] MSITask: components/features, GAC Hi Developers, I have played around with the MSITask, but I have still some problems/questions: 1.) How do I use shared components in more than one feature? 2.) How do I install an Assembly to the Global Assembly Cache? I need examples please. Regards Stefan ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer