Register  |  Login

Question Details    

   Question

Time: 14:06 - Jul 25, 2006     Asked by: sgivoni      Status: Answered      Points: 250   

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?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

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

Expert:

e-xperience

Date:

Jul 25, 2006

Time:

16:19

 

Votes: Good (0) | Bad (0)
Login to rate this answer

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

Expert:

sgivoni

Date:

Jul 25, 2006

Time:

16:23

 

Votes: Good (0) | Bad (0)
Login to rate this answer

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

Expert:

sgivoni

Date:

Jul 28, 2006

Time:

07:39

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, 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 an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

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



Respond to 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:


Forgotten Password

 

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:


Forgotten Password

   

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


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Quomon Blog

blog.quomon.com

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment