【问题标题】:"Cannot load resource" in Visual Studio 2015 toolbar with a DSL带有 DSL 的 Visual Studio 2015 工具栏中的“无法加载资源”
【发布时间】:2016-01-19 20:07:12
【问题描述】:

自从将 DSL 工具语言转换为 Visual Studio 2015 后,工具箱选项消失了,没有将模型元素添加到 DSL 编辑器的选项。

如果我在 Visual Studio 2015 工具箱中选择“全部显示”选项,我会看到一个奇怪的“无法加载资源”条目,我假设它对应于我的 DSL 的工具箱选项卡。

有没有人知道这里发生了什么,或者有关于如何诊断 Visual Studio 2015 如何加载工具箱以便我可以找到它无法加载的“资源”的任何提示?

【问题讨论】:

    标签: visual-studio visual-studio-2015 toolbox dsl-tools


    【解决方案1】:

    最后我偶然发现了解决方案。这篇文章为我指明了正确的方向:

    DSL designers built from migrated beta 2 solutions might have empty toolbox

    DSL 包 csproj 文件中缺少的设置如下:

    <RegisterWithCodebase>true</RegisterWithCodebase>
    

    它在从 Visual Studio 2013 过渡到 Visual Studio 2015 时在编辑项目引用时迷路了。

    【讨论】:

      猜你喜欢
      • 2019-02-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-24
      • 1970-01-01
      • 2016-10-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多