Trouble when trying to open WPF project in Expression-Blend 4, which was created in Visual Studio 2010 -
i'm create wpf project in vs 2010. after finished work functional gui, wanted edit template of controls in blend 4. when open project in blend, in designmode, tell me
invalid xaml
in result window wrote:
[controlname] not supported in windows presentation foundation (wpf) project
where [controlname] list of default controls, have used in project (such window, dockpanel, etc.)
what avoid issues , able edit wpf forms @ designmode of expression-blend4?
edit:
possible workaround.
after comparasion of empty projects (*.csproj file), created blend
, studio
, have find out visualstudio
create next line:
<propertygroup> <configuration condition=" '$(configuration)' == '' ">debug</configuration> <platform condition=" '$(platform)' == '' ">x86</platform> ...
while blend uses following lines:
<propertygroup> <configuration condition=" '$(configuration)' == '' ">debug</configuration> <platform condition=" '$(platform)' == '' ">anycpu</platform>
so, if change x86
anycpu
, blend open project expected.
i have seen error message once before. after comparing new solution file 1 wouldn't load discovered blend requires anycpu
platform/configuration defined.
if not work, ensure have required assemblies referenced wpf project: presentationcore
, presentationframework
, , windowsbase
.
hth,
Comments
Post a Comment