Bugs item #1571688, was opened at 2006-10-05 13:05 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=1571688&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: Tasks Group: 0.85 Status: Open Resolution: None Priority: 5 Submitted By: cgraham86 (cgraham86) Assigned to: Nobody/Anonymous (nobody) Summary: <component>cant install same-name assemblies to GAC Initial Comment: When using the <msi> task to build an MSI database, and .NET assemblies are intended to be deployed to the GAC for a <component> using the "installtogac" attribute set to "true" - this works for all uniquely named assemblies included for the component (using a <fileset> with subsequent <includes>). However, if multiple assemblies have the same name but different versions they cannot be included. The default behavior is to install them like files on the filesystem, and no new additions to the GAC are installed: <components> <!-- This does not work; files are installed as normal files --> <component name="c__gac" directory="d__gac" id="{EF3E8459-BDE7-41E8-8ECC-A99A22ABDBD7}" feature="f__default" attr="0" keepsubdirs="true"> <key file="manifest.txt" /> <fileset basedir="${dist-dir}\gac"> <include name="manifest.txt" /> <include name="log4net\1.2.0.30714 \log4net.dll" /> <include name="log4net\1.2.1.0\log4net.dll" /> <include name="log4net\1.2.1.40796 \log4net.dll" /> </fileset> </component> <!-- this will work, but we can't deploy the other two because they have the same name --> <component name="c__gac" directory="d__gac" id="{EF3E8459-BDE7-41E8-8ECC-A99A22ABDBD7}" feature="f__default" attr="0" keepsubdirs="true"> <key file="manifest.txt" /> <fileset basedir="${dist-dir}\gac"> <include name="manifest.txt" /> <include name="*.dll" /> </fileset> </component> </components> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1571688&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