Geesshh.. Looking at too much code again. Thanks Gert. You pointed me to the problem. I should have known not to do that.
--- Gert Driesen <[EMAIL PROTECTED]> wrote: > Michael, > > Try removing ${source.dir.unarchive}\ from the name attribute of > the > excludes elements : > > <resources basedir="${source.dir.unarchive}" dynamicprefix="true" > prefix="${module.name}"> > <includes name="**\*.resx"/> > <includes name="**\*.licx"/> > <includes name="**\*.xsd"/> > <excludes name="Controls\AddJobParticipants.resx" /> > <excludes name="Controls\AlertManager.resx" /> > </resources> > > Let me know if it works. If not, please submit a bug report and > attach a > repro to it. > > Gert > ----- Original Message ----- > From: "Michael Dang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 30, 2004 8:41 PM > Subject: [Nant-users] Exclude Resources with CSC tag inquiry > concering resx > files > > > > Hello, > > > > I noticed that in my builds with the CSC tag that specific > excluded > > .resx files that are declare seem to get compiled. I determined > this > > by viewing my output of the task. > > > > Here is my task. > > > > <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"/> > > > > </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"/> > > > > > > </resources> > > <arg value="/nowarn:1591,162,168,169,219,108,105"/> > > </csc> > > > > Here is the shortened output: > > > > [csc] Compiling 52 files to > > C:\Projects\WorkArea\build\compile\myassembly.dll. > > Read in 16 resources from > > > 'C:\Projects\WorkArea\source\unarchive\Controls\AddJobParticipants.resx' > > Writing resource file... Done. > > Read in 16 resources from > > > 'C:\Projects\WorkArea\source\unarchive\Controls\AddParticipants.resx' > > Writing resource file... Done. > > Read in 77 resources from > > > 'C:\Projects\WorkArea\source\unarchive\Controls\AlertDetails.resx' > > Writing resource file... Done. > > Read in 19 resources from > > > 'C:\Projects\WorkArea\source\unarchive\Controls\AlertManager.resx' > > Writing resource file... Done. > > Read in 64 resources from > > > 'C:\Projects\WorkArea\source\unarchive\Controls\AlertRefTypeUCtl.resx' > > Writing resource file... Done. > > Read in 37 resources from > > 'C:\Projects\WorkArea\source\unarchive\Controls\AlertsGrid.resx' > > Writing resource file... Done. > > > > > > If you notice that I specifically exclude the following files: > > AddJobParticipants.cs > > AlertManager.cs > > AddJobParticipants.resx > > AlertManager.resx > > > > I do make sure that my folder paths are correct. > > > > Can someone explain why I would be seeing this in the output even > if > > I excluded the files? Is this a known issue with the resources > > element within the csc task? Does this issue carry over to the > > sources element of the csc task? > > > > > > ===== > > 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 > > > > > ===== 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