Expression Blend: Getting error “XXX” does not exist in the namespace “XXX”, but not in VS2008

后端 未结 5 2393
栀梦
栀梦 2020-12-24 02:13

I am trying to use Blend 3.0 to edit a project that contains some WPF controls. This project already compiles and runs fine from Visual Studio 2008.

In Blend however

5条回答
  •  没有蜡笔的小新
    2020-12-24 02:35

    The problem is in Blend assembly search path. By default it search classes in assemblies in folder "bin\Debug"! But if you set in project configuration target x86 then your output path will be "bin\x86\Debug". So you need to change your output path in visual studio to "bin\Debug" and Blend will find all your classes!

提交回复
热议问题