Bugs item #1388338, was opened at 2005-12-22 11:52 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=1388338&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: None Status: Open Resolution: None Priority: 5 Submitted By: Adenosine (adenosine) Assigned to: Nobody/Anonymous (nobody) Summary: ReferencesThirdPartyAssemblies in Resgen has problems Initial Comment: The ReferencesThirdPartyAssemblies function in ResGenTask.cs doesn't correctly identify situations in which it needs to copy assemblies to a temporary directory. I have .resx files with lines like the following: <data name="_tcLegendNormal.ToothCondition" mimetype="application/x-microsoft.net.object.binary.base64"> <value> AAEAAAD/////AQAAAAAAAAAMAgAAAEVHZW5lcmFsLCBWZXJzaW9uPTEuMC4yMTgxLjI0NDg1LCBDdWx0 dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwFAQAAACBSZWhuLkhDUFMuR2VuZXJhbC5Ub290 aENvbmRpdGlvbgIAAAAEX3NpZAVfbmFtZQABCAIAAAAAAAAABgMAAAAACw== </value> This is actually a reference to a value in an enumeration that is contained in another assembly in the solution, in a different project. When resgen tries to use it, it throws a SerializationException. This is because it doesn't match the xpath /root/[EMAIL PROTECTED] and not(starts-with(@type, 'System.') and contains(@type,'PublicKeyToken='))] used in the function to determine if 3rd party assemblies are needed with the resx file. I added the line count += xpathDoc.CreateNavigator().Select("/root/[EMAIL PROTECTED]").Count; right after the first xpath statement, and it seemed to fix the problems with my resource compilation. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1388338&group_id=31650 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers