469,642 Members | 1,298 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,642 developers. It's quick & easy.

.NET component problem when used inside a VC++.NET project (.NET bug?)

Hi all,

we have developed a .NET component for use inside Windows Forms: this
component has been written using VC++.NET (2003) and is working perfectly
when inserted inside VC#.NET or VB.NET projects; its generated assembly is
inside MyAssembly.dll
When used inside a VC++.NET project it appears correctly over forms at
design time but when trying to compile the project we get the following
error:

********************
error: Invalid ResX input.
error: Specific exception: SerializationException Message: Invalid ResX
input. ---> SerializationException: Cannot find the assembly MyAssembly,
Version=1.0.1567.39527, Culture=neutral, PublicKeyToken=null.
2 error(s).
TestCppDotNet : error PRJ0002 : error result returned from 'resgen.exe'.
********************

After some trouble, we have identified the problem inside the .resx file: we
have two properties that store their value into a base64 value as in the
example below, using the "application/x-microsoft.net.object.binary.base64"
mimetype:

<data name="MyCtrl1.BoxedPictureTexture"
mimetype="application/x-microsoft.net.object.binary.base64">
<value>
VALUE CONTENTS....
</value>
</data>
<data name="MyCtrl1.Texture"
mimetype="application/x-microsoft.net.object.binary.base64">
<value>
VALUE CONTENTS....
</value>
</data>

If we remove these two properties, the problem disappears: not that the same
values are stored and managed correctly inside the .resx file of a C#
project: are we missing some namespace declaration?
Why VC++.NET fails to compile this resx file?
Is this a bug?
Any solution?

Thanks in advance and Kind Regards

Severino
Nov 17 '05 #1
0 1276

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Sushil Srivastava | last post: by
1 post views Thread by Rami Atia | last post: by
7 posts views Thread by Dr. Zharkov | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.