user1017882
user1017882

Reputation:

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

I'm getting this error:

Could not load file or assembly 'Twitterizer2.Asynchronous' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

But I've deleted the twitterizer2.Asynchronous library from my references so why does it still have a problem with it?

This works in my other projects so I don't see what the problem is? It did give me the same error with a Telerik library earlier so I'm thinking it's not specific to Twitterizer.

Upvotes: 3

Views: 7629

Answers (2)

Al Option
Al Option

Reputation: 601

Just delete the dll's that you're no longer referencing.

Upvotes: 2

Jon Skeet
Jon Skeet

Reputation: 1500465

My guess is that one of the assemblies you're still referring to depends on that assembly... so it's still trying to load it.

You might want to use Fusion Logging to find out why it's being loaded. (More context in the question would help us to diagnose it too...)

Upvotes: 2

Related Questions