XAML Designer UI 停止工作并在我的 WPF 应用程序中抛出异常 System.NotSupportedException

XAML Designer UI stop working and throw exception System.NotSupportedException in my WPF Application

最近我在做一个wpf的项目,需要从网上获取信息并解析,所以我使用了Json,我安装包使用(Install-Package System.Json -版本 4.0.20126.16343),这对我来说非常有用,但是当我想打开 xaml window 它不会并且抛出一个看起来像这样的异常,

System.NotSupportedException Le Kit de developpement logiciel (SDK) Microsoft Silverlight 5.0 est introuvable。验证 SDK 是否适用于已安装的版本。 à Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal) à Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal) à Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CallSynchronizationMode syncMode, WaitHandle timeoutSignal) à Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle1 targetObject, Action action, CallSynchronizationMode syncMode) à Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle1 targetObject, Func`2 func, CallSynchronizationMode syncMode) à Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CreateDesignerImpl(IHostSourceItem item, IHostTextEditor editor, RemoteCancellationToken remoteCancelToken)

任何人都可以告诉我该怎么做才能摆脱这个例外,

注意:当我删除 Json 引用时,异常消失。

问题已解决,在 Juan 的帮助下,我使用 [=12a=] 而不是 Json.net 并且有效