Bugs item #1701399, was opened at 2007-04-16 10:21 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=1701399&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.86 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jonathan Evans (jd_csfb) Assigned to: Nobody/Anonymous (nobody) Summary: CSC Resource Naming Wrong Initial Comment: When I specify resources the generated name is incorrect. It seems to be to do with the invalid character substitution code. If I specify this in my build: <property name="project-name" value="MyCompany.MyTeam.MyProject.MyComponent" /> <property name="project-src" value="C:\MyProject\src" /> ... <csc ...> <resources basedir="${project-src}" dynamicprefix="true" prefix="${project-name}}"> <include name="*.resx" /> <include name="resource/html/Error.html" /> <include name="toolbox_bitmaps/*.bmp" /> </resources> </csc> I expect to get a dll containing a couple of resources. The forms resources (*.resx) come out as expected, but the others have an extra "_" in the resource name, e.g. MyCompany.MyTeam.MyProject.MyComponent_.resource.html.Error.html It looks as if the underscore is being inserted in Nant.DotNet.Types.ResourceFileSet.GetManifestResourceName - it is related to the code that generates the dynamic prefix - possibly something to do with the directory separator characters being miss identified. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1701399&group_id=31650 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers