Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Error while adding Silverlight controls
posted

Hi,

When I am adding some controls to a project I get the following message from VS2010. In particular the XamWebHtmlViewer, and the XamChart. VS2010 closes and reopens. Sometimes it recovers and allows you work with the design view and xaml view. It will allow you to run the project but when it return the error will occur again.

This issue is happenning on 2 machines. Win 7 Pro 64bit. We are using the trial version of the Silverlight controls.

Cheers

Phil

 

Normal 0 false false false EN-AU X-NONE X-NONE MicrosoftInternetExplorer4

System.InvalidOperationException

Layout measurement override of element 'Microsoft.Windows.Design.Platform.SilverlightViewProducer+SilverlightContentHost' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.

   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.ContextLayoutManager.UpdateLayout()   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Parents Reply Children