开发者

VS2010 SP1 WPF designer crashes, without SP1 it's working [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question m开发者_如何学Goore broadly applicable, visit the help center. Closed 10 years ago.

Setup:

  • Windows Server 2008 R2 x64
  • Visual Studio 2010 SP1
  • WPF Application targetting .NET 3.5 SP1
  • Uses Infopath FormControl
  • No add-ins on VS2010

Problem: First open any window or usercontrol in Visual Studio designer and it opens normally. Then simply click on xaml source (I'm using split view, xaml and the "actual control") and the designer will crash almost immediately with the following exception:

[System.Reflection.Adds.UnresolvedAssemblyException] Type universe cannot resolve assembly: Microsoft.VisualStudio.Tools.Applications.Adapter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

I looked from GAC and the assembly is there (processor architecture is MSIL).

What's going on in here? No help from Google. Funny thing is that without VS2010 SP1 everything works just fine...

Update

I tried VS2010 repair from the dvd and SP1 reinstall but it didn't help. However, I was able to narrow it down. If I remove the reference to Microsoft.Office.InfoPath.FormControl from the project it works fine. So why does the FormContol crash the designer on every WPF window and usercontrol and only with VS2010 SP1?

Office 2007 Repair didn't help either.


This Blog help me a lot hope this would help you also. http://www.purelogic.ca/blog/matt/2010/10/13/visual-studio-2010-designer-exception-unresolvedassemblyexception.aspx


What about running the VS2010 repair? try repairing it from the original DVD and then re-install the SP1 over it.

That's my suggestion if you don't get an answer that explicitly solves your problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜