Visual Studio 2017安装时可以指定Blend SDK,到Visual Studio 2019时,安装时已经没有这个选项了。

官方提供的只有老版本4.0的安装包。要使用Blend SDK 4.5版本,可以有以下两个方法

1、使用Nuget包

PM> Install-Package Expression.Blend.Sdk -Version 1.0.2

2、下载Blend SDK 4.5安装包安装(附件提供下载)

Microsoft Expression Blend Software Development Kit (SDK) for .NET 4.5

 

注意:

如果是.Net Core WPF程序,使用Nuget包

1 PM> Install-Package Microsoft.Xaml.Behaviors.Wpf -Version 1.1.19

 使用时,需要将

1 xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"

替换成

1 xmlns:i="http://schemas.microsoft.com/xaml/behaviors"

 

 

作者: zhaotianff

转载请注明出处

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2021-08-09
  • 2021-07-14
  • 2021-08-27
  • 2021-12-16
  • 2021-07-08
猜你喜欢
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-12
相关资源
相似解决方案