使用Extension SDK为UAP App创建扩展

时间:2015-10-02 08:25:57

标签: c# win-universal-app

我尝试为我开发的自定义TextBox控件创建一个Visual Studio扩展。我遵循以下教程:https://msdn.microsoft.com/library/hh768146.aspx#ExtensionSDKs

这是SDKManifest.xaml

<?xml version="1.0" encoding="utf-8" ?>
<FileList DisplayName="CundsS Controls UAP"
          ProductFamilyName="Cunds Controls UAP"
          MinVSVersion="12.0"
          TargetFramework=".NETCore, version=v4.5.1"
          SupportedArchitectures="x86;x64;ARM"
          DependsOn="SDKB, version=2.0"
          CopyRedistToSubDirectory="."
          AppliesTo="WindowsAppContainer + WindowsXAML">
    <File Reference="CsControlsLib.winmd"
          Implementation="CsControlsLib.dll">
        <ToolboxItems VSCategory="Toolbox.Default" />
    </File>
</FileList>

这是VSIX扩展的项目结构 enter image description here

构建扩展时出现以下错误: 缺少参考WindowsBase,PresentationCore,PresentationFramework

我不知道为什么要这样做,因为我开发了Windows通用应用程序控件而不是WPF控件。

这是控件的项目结构:

enter image description here

0 个答案:

没有答案