Please help me with this error. I've been working on a Silverlight 5 project using Visual Studio 2013 with Update 2. I also use Telerik controls but I'm not sure that has anything to do with anything. The designer hasn't been working for
days giving me the bazaar error message:
XamlParseException: [Line: 0 Position: 0]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
InnerException: None
Now, on top of this today I get this error (which I think is related to the above and to MS Expression):
System.InvalidOperationException
Designer buffer synchronizer encountered unexpected host version number. Received 506, expected 505.
---> System.InvalidOperationException: Designer buffer synchronizer encountered unexpected host version number. Received 506, expected 505. Server stack trace: at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.TextChangeImpl(RemotableHostTextContentChange changes) at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.<>c__DisplayClass1.<Microsoft.Expression.DesignHost.IDesignerTextBufferSynchronizer.TextChange>b__0() at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.MarshalIn(Action action) at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.Microsoft.Expression.DesignHost.IDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerTextBufferSynchronizer.<>c__DisplayClass2.<TextChange>b__1() at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker() at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.Invoke(Boolean waitingInExternalCall) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.InvokeCall(Call call) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.DirectInvoke(Boolean inbound, Action action, Int32 sourceApartmentId, Int32 targetApartmentId, Int32 originId, WaitHandle aborted) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.DirectInvokeInbound(Action action, Int32 targetApartmentId) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action, CallSynchronizationMode syncMode, CallModality callModality, ApartmentState apartmentState, String memberName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerTextBufferSynchronizer.<>c__DisplayClass3.<TextChange>b__2(IRemoteDesignerTextBufferSynchronizer ds) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass4`1.<MarshalOut>b__3() at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker() --- End of inner exception stack trace --- at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal, CancellationToken cancelToken, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CancellationToken cancelToken, CallSynchronizationMode syncMode, WaitHandle timeoutSignal, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action action, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action`1 action, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at Microsoft.Expression.HostUtility.Text.HostTextBufferSynchronizer.LocalBufferWrapper_Changed(Object sender, RemoteTextContentChangedEventArgs args) at Microsoft.VisualStudio.ExpressionHost.HostServices.HostTextBuffer.TextBufferWrapper.OnBufferChanged(Object sender, TextContentChangedEventArgs e) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)
This is accompanied with Designer crashes and long timeouts in Visual Studio.
Application Developer Manufacturing