Attention: We are retiring the ASP.NET Community Blogs. Learn more >

I am the Framework. I run managed code. I am without flaw. (repost)

Had an interesting experience today; a friend sent me an assembly and asked me to check it out.  I referenced the assembly in my application and starting writing some elite code that consumed it.  Project compiled fine but when I executed the app. it blew up and complained that assemblies couldn't be found - System.Xml in particular.

Welcome to SxS ( side by side execution ).  What my friend had failed to tell me is that his assembly was built on Version 1.1 of the framework and I only have Version 1.0 installed!

Thankfully this fine article - http://www.3leaf.com/default/articles/ea/SBS.aspx - told me how to rectify the problem by adjusting my configuration settings to map to the V1.0 assemblies.

Here we go again :D

 

Note: here is an example of the error you can expect to see if you get caught by this:

File or assembly name System.Xml, or one of its dependencies, was not found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: File or assembly name System.Xml, or one of its dependencies, was not found.

Further reading: http://www.gotdotnet.com/team/changeinfo/default.aspx

1 Comment

Comments have been disabled for this content.