Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 250 Time: 14:06 - Jul 25, 2006  

sgivoni

Referencing 1.1 dll in 2.0 application does not work

I get this error code:

System.MissingMethodException: Method not found: 'System.Object System.Xml.Serialization.XmlSerializationGeneratedCode.get_InternalSyncObject()
'.

when reference a framork 1.1 dll in my 2.0 visual studio environment..

My problem is much simular to the problem described in this thread: http://forums.asp.net/thread/1173127.asp...>http://forums.asp.net/thread/1173127.asp.../a>

How do I solve this?

Answer Discussion
Tutorials

 

e-xperience

Date:: Jul 25, 2006

Time:: 16:19

Just add a namespace in your framework 1.1 dll and you will be able to reference it in visual studio 2005 or VWD

sgivoni

Date:: Jul 25, 2006

Time:: 16:23

Thanks for your reply but the dll is a 3. party dll which I have no way to alter.

sgivoni

Date:: Jul 28, 2006

Time:: 07:39

Ups - this was supposed to be the answer:

This was the final response from Microsoft to the question - although not that saticfactory:

Yes, unfortunately if you do not own the assembly, you cannot just use sgen.exe.
We did not port full pre-generation feature to V1.1, the way it works in V1.1 is the type explicitly points to serializer to use, so even if you generate the newer version of the serializer, the old one will be used, because it is explicitly chosen by the type.

I am afraid that you only options are
1. ask for a fix from the vendor: they either have to use V2 framework to re-generate the seriliazation codo, or just edit the V1.1 code to remove the synchronization.
2. push for QFE from Microsoft.

Thanks,
Elena

Question Answered

This question has been closed, and points have been rewarded to the following experts:


e-xperience: 50
sgivoni: 200

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No tutorials have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10279

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es