This is a migrated thread and some comments may be shown as answers.

HeaderedContentControl bug. Solved.

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 07 Feb 2011, 02:05 AM
I was struggling with getting blend to work with RadDocking Q1 2010. It worked in Visual studio 2010, in the designer, but not in blend. CrAzy exceptions, like HRESULT and E_FAIL, and AngryFerretException.

I installed the Q3 trial version of and it started working... hmmm...

Then I moved the Q3 trial dlls to my reference folder... stopped working... hmm...

I shuffled them back and forth until I learned something. VS2010 is way better at resolving references than blend is.

I had a reference missing... Telerik.Windows.Controls.Input.dll. I wasn't using it directly... I believe it is used by RadDocking.

The designer in vs2010 was smart enough to resolve cross references by searching the path of the dll for any referenced stuff. The compiled application is also smart enough to just look in the directory... BUT BLEND ISN'T. If you are missing a reference, it will not work in blend, but it will work in VS2010 and the compiled application.

I hope this helps someone.

Joe

1 Answer, 1 is accepted

Sort by
0
Joseph
Top achievements
Rank 1
answered on 07 Feb 2011, 02:07 AM
And, note to self. Let the Telerik Add-in or Blend do the initial additions of the references. It is easy to miss stuff, and the errors aren't always super easy to decode.
Tags
General Discussions
Asked by
Joseph
Top achievements
Rank 1
Answers by
Joseph
Top achievements
Rank 1
Share this question
or