【问题标题】:Windows Forms Control Library templateWindows 窗体控件库模板
【发布时间】:2016-05-11 19:11:27
【问题描述】:

我们正在尝试使用 WPF 中的 activex 控件来保存重写。找到这篇文章,https://msdn.microsoft.com/en-us/library/ms742735(v=vs.100).aspx,它指的是 Windows 窗体控件库模板。现在我有 Visual Studio 2015 Community Edition 并且没有这样的模板。谷歌搜索并发现没有可用内容的页面。想知道我是否可以指出它存在的地方还是有替代方法?

【问题讨论】:

    标签: wpf activex


    【解决方案1】:

    Windows 窗体控件库模板有点难找。在我的 Visual Studio 2015 实现中,我将它放在 Visual C#\Windows\Classic Desktop 目录中。如果您没有此模板,至少对于 Windows 窗体,您还可以选择模板类库,然后以在调试类库时可以使用 Testcontainer 的方式进行更改。

    关于如何实现这一点,请参阅此链接 A project with output type of class library cannot be started directly - with a startup exe 中的 Arnshea 帖子(6 票赞成)。当我在开始我的项目时不小心使用了错误的模板时,我使用了他的技术。

    问候JRB

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-10-21
      • 1970-01-01
      • 2013-12-20
      • 1970-01-01
      • 1970-01-01
      • 2011-06-30
      相关资源
      最近更新 更多