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-05-01 16:24
Message:
Logged In: YES
user_id=707851
Wake-up call!
----------------------------------------------------------------------
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
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers