Hello, I have been using Nant 0.84 to compile this project for a while. However, today I am getting an internal error. Can anyone shed some light?
task being executed is a CSC task and is in the middle od compiling resx files. ..... Read in 0 resources from 'C:\source\unarchive\Controls\SearchAlertFolder.resx' Writing resource file... Done. BUILD FAILED INTERNAL ERROR System.ArgumentException: Item has already been added. Key in dictionary: "HP.Ecommerce.Americas.Catalyst.adds.resources" Key being added: "HP.Ecommerce.Americas.Catalyst.adds.resources" at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] My CSC Task. Shortened to simplify. <csc target="library" output="${build.dir.compile}\${assembly.name}" debug="false" optimize="true"> <sources> <includes name="${source.dir.unarchive}\**\*.cs"/> <!-- excludes --> <excludes name="${source.dir.unarchive}\Class1.cs"/> <excludes name="${source.dir.unarchive}\Controls\AddJobParticipants.cs"/> <excludes name="${source.dir.unarchive}\Controls\AlertManager.cs"/> <excludes name="${source.dir.unarchive}\Controls\JobDetails2.cs"/> <excludes name="${source.dir.unarchive}\Controls\MaintenanceWindow.cs"/> <excludes name="${source.dir.unarchive}\Forms\JobDetails.cs"/> <excludes name="${source.dir.unarchive}\DataAccess\AlertRefSqlDAC.cs"/> <excludes name="${source.dir.unarchive}\Utility\ListWindowDescriptors\AlertRefType.cs"/> <excludes name="${source.dir.unarchive}\Utility\ListWindowDescriptors\IListWindowDescriptor.cs"/> </sources> <references> <!-- Built libs --> ... <!-- ThirdParty libs --> ... <!-- Managed libs --> ... </references> <resources basedir="${source.dir.unarchive}" dynamicprefix="true" prefix="${module.name}"> <includes name="**\*.resx"/> <includes name="**\*.licx"/> <includes name="**\*.xsd"/> <excludes name="${source.dir.unarchive}\Controls\AddJobParticipants.resx"/> <excludes name="${source.dir.unarchive}\Controls\AlertManager.resx"/> <excludes name="${source.dir.unarchive}\Controls\MaintenanceWindow.resx"/> <excludes name="${source.dir.unarchive}\Controls\JobDetails2.resx"/> <excludes name="${source.dir.unarchive}\Forms\JobDetails.resx"/> </resources> <arg value="/nowarn:1591,162,168,169,219,108,105"/> </csc> ===== Michael Dang __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users