the type from assembly is built with an older version of blend sdk and is not supported in a windows presentation foundation 4 project

前端 未结 8 2001
半阙折子戏
半阙折子戏 2020-12-08 07:22

I created a WPF project in VS 2013. After upgrading to VS 2015, this error showed in the designer on types derived from the Blend SDK:

the type from a

相关标签:
8条回答
  • 2020-12-08 08:29

    You can resolve this issue by manually changing the version numbers in .sln and .csproj files.

    In .csproj and .csproj.user change ToolsVersion to your current Visual Studio version. VS 2013 is version 12, VS 2015 is version 14.

    In .sln change VisualStudioVersion to the current version, you can find it in the About window.

    Also change Microsoft Visual Studio Solution File, Format Version to your current version (eg 14.00, 12.00)

    Note: This only works for built-in assemblies. If external dependencies (like Prism) cause this error, you'd have to recompile them using the new Blend SDK. You could also try to update the dependency, maybe the newest version is already compiled using the latest Blend SDK.

    0 讨论(0)
  • 2020-12-08 08:29

    Just the Microsoft Visual Studio Solution File, Format Version change to 14.00 worked for me.

    0 讨论(0)
提交回复
热议问题