I've got a fix for this and so it'll be in the next release. Earlier during the investigation I was thinking you might be able to work around it by getting the right set of MSBuild includes in our .pyproj files - but I ran into a later bug in MPFProj (http://mpfproj10.codeplex.com/WorkItem/View.aspx?WorkItemId=8257) which prevents this from working further down the line anyway :(
From: [email protected] [mailto:[email protected]] On Behalf Of Hank Fay Sent: Tuesday, May 04, 2010 7:09 PM To: Discussion of IronPython Subject: [IronPython] XAML attribute edit = Unhandled Exception Maybe this is already known? In IPyTools CTP2: Create new WPF IPY app; add a button; in Button XAML, add MouseEnter="" Result: a good chance at this point the unhandled exception will have occurred. If not, this is a 100% occurrence at the next step: enter text between the empty double-quotes after MouseEnter= Pressing the Click here to reload the designer link refreshes the designer OK Here's the stack trace: Server stack trace: at MS.Internal.Providers.VSAssemblyReferenceProvider.AddReference(AssemblyName newReference) at MS.Internal.Host.Isolation.Adapters.ContextToProtocolAdapter.MS.Internal.Host.Isolation.Protocols.IAssemblyReferenceProtocol.AddReference(AssemblyName name) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) 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 MS.Internal.Host.Isolation.Protocols.IAssemblyReferenceProtocol.AddReference(AssemblyName name) at MS.Internal.Host.Isolation.Adapters.ToAssemblyReferenceAdapter.AddReference(AssemblyName newReference) at MS.Internal.Host.PersistenceSubsystem.ReconcileReferences(AssemblyReferences references) at MS.Internal.Host.PersistenceSubsystem.<Load>b__8(AssemblyReferences newReferences) at Microsoft.Windows.Design.ContextItemManager.SubscribeProxy`1.SubscribeContext(ContextItem item) at Microsoft.Windows.Design.SubscribeContextCallback.Invoke(ContextItem item) at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.OnItemChanged(ContextItem item) at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.SetValue(ContextItem value) at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.EnsureAssemblyReference(IAssemblyMetadata assembly) at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.EnsureReferences(IEnumerable`1 types) at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args) at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.CancelableDocumentTreeCoordinator.RouteMessage[T](IDocumentTreeConsumer consumer, MessageKey`1 key, T args) at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage) at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args) at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ReportDamage(IDocumentTreeProducer tree, Damage damage) at Microsoft.Windows.Design.DocumentModel.MarkupProducer.Update() at Microsoft.Windows.Design.DocumentModel.MarkupProducer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args) at Microsoft.Windows.Design.DocumentModel.MarkupProducer.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args) at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage) at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.QueuedMessage`1.Microsoft.Windows.Design.DocumentModel.IQueuedMessage.Invoke() at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ProcessQueuedMessages(Object state) 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)
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
