Exception raised on the designer

Dec 5, 2013 at 10:58 AM
I don't know if it's an issue on my machine or something that came with the latest version of Oxyplot on Nuget, but something is crashing the designer as soon as I add a Plot to the XAML.

I get the following exception:
Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. 
The system cannot find the file specified.
Any clue where that could be coming from?
Coordinator
Dec 6, 2013 at 6:25 PM
I tried to use the latest WPF Nuget package with VS 2013 and did not see any exceptions. What version are you using, and do you have the latest updates?
Dec 7, 2013 at 3:02 AM
Edited Dec 7, 2013 at 3:12 AM
I have the same problem. All updates installed. I am using 2013.2.136.1 version.
When I am not using Nuget and connect source project directly - disigner worked.
Blend for Visual Studio 2013 crashing in any case.
Dec 9, 2013 at 8:27 AM
Edited Dec 9, 2013 at 8:28 AM
I'm using the latest version of OxyPlot and VS 2012 Update 4.

It's actually kind of strange, because it was working OK, and I started a new project, got OxyPlot from NuGet and in that new project I got the exception for the first time.

Then, I opened another project which and it crashed with the same exception, even though I hadn't updated the library. I tried updating, but no luck yet. It's not a big issue for me as it just crashes the designer, but I'd like to know where it's coming from.
Dec 9, 2013 at 1:10 PM
Afte updates vs 2013 installation with install "silverlight sdk" all working good.
About vs 2012. Repair installation. It helped me.
Dec 10, 2013 at 2:52 PM
Just a quick update, I did a repair like VadimCh suggested and it indeed fixed the issue.

A bit weird, maybe an update for VS screwed something up. Anyway, I don't have the exception anymore.

Thanks!
Mar 5, 2014 at 2:04 PM
I can confirm that for VS2013 installing Silverlight SDK fixed the issue (as VadimCh kindly pointed out).
I had VS2013 update 1, but that was not enough.