could not load file or assembly 'system.core version=2.0.5.0

Dtex picture Dtex · Jan 9, 2013 · Viewed 7.2k times · Source

I was trying to use ReactiveUI in a WPF application that makes use of Prism. I installed the packages with NuGet, but simply adding the references led to the exception specified in the title during the initialization of the ModuleCatalog.

Edit:

As Pierre Arnaud pointed out, the problem is Microsoft.Bcl.Async not being able to resolve System.Core version 2.0.5.0.

We moved to Visual Studio 2012 since i first posted this question. The same problem persists and i can't even install the fix suggested by Pierre since i have installed .Net 4.5 now. The project is still targeting .Net 4.0.

Answer

Pierre Arnaud picture Pierre Arnaud · Aug 12, 2013

Please install KB2468871, which solves the issue related to Microsoft.Bcl.Async not being able to resolve System.Core version 2.0.5.0.

See also Issue 8 in the async targeting pack knowledge base.

Here are the direct download links for the fixes, for the x86 and x64 environments: