views:

220

answers:

0

Hi, I've ran into this problem I can't quite wrap my head around. I've got this WPF Application which seems to be just fine when I open in Expression Blend. It compiles and I can even rebuild the solution with no problems and no error message.

But when I go to Clean Solution, I get this error:

The name "SplitExpander" does not exist in the 
namespace "clr-namespace:SplitExpander

I've got a local animation going in this application which also works as expected. And at the top of the main form xaml file, I've got this:

xmlns:local="clr-namespace:SplitExpander

What could be causing this issue? If I open the solution in Visual Studio 2008, I get additional error messages but none that resembles the ones from Expression Blend.

Error   1 Assembly
'PresentationFramework.Classic' was
not found. Verify that you are not
missing an assembly reference. Also,
verify that your project and all
referenced assemblies have been built.

Warning 2 The referenced
component
'PresentationFramework.Classic' could
not be found.

Expression Blend show no errors with PresentationFramework.Classic at all. It's added as a reference, although it's actually "PresentationFramework.Classic.dll" that's added. "PresentationFramework.Classic" and "PresentationFramework.Classic.dll" are separate references as seen in the list I can choose from when addind references. But it doesn't matter if I add both, the error happens regardless.