【问题标题】:how to find using directives and assembly references如何查找使用指令和程序集引用
【发布时间】:2022-08-15 16:42:50
【问题描述】:

VS2022 maui 教程应用。

如何找到缺失的指令或程序集引用,例如 \"InsertButton\",其中已编译应用程序的错误列表指出 \'名称 \"InsertButton\" 在当前上下文中不存在?\' 我正在寻找有关如何查找不存在的特定项目的解释。 感谢您对此的任何帮助。

    标签: directive android-context


    【解决方案1】:
    using AndroidApp = Android.App.Application;
    

    然后使用 Android 应用程序访问您想要的 android 中的内容。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-10
      • 1970-01-01
      • 2011-02-02
      • 2011-04-11
      • 1970-01-01
      相关资源
      最近更新 更多