Bugs item #1388338, was opened at 2005-12-22 20:52 Message generated for change (Comment added) made by drieseng 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. ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2006-03-03 19:23 Message: Logged In: YES user_id=707851 Can you please post a full repro, including the referenced assembly ? Thanks ! ---------------------------------------------------------------------- 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers