c# - Android 快速入门教程 - 'this project contains resources that were not compiled...'

标签 c# android

我正在使用 VS Community 2017 v.15.7.5 和 Xamarin 东西,例如。今天安装了 4.10.10.2。我按照 Hello, Android 教程“Phoneword”(https://learn.microsoft.com/en-us/xamarin/android/get-started/hello-android/hello-android-quickstart?tabs=vswin)使用最低 Android 版本 5.0 Lollipop 创建了一个项目。

在 activity_maim.axml 中,我收到一条横幅,上面写着“该项目包含未成功编译的资源,渲染可能会受到影响。”

我还没有在这个项目中添加或删除任何内容。我怎样才能摆脱横幅?我查看了对类似问题的其他回复 - 清空 Resouce.Designer.cs,清理、构建并再次构建,但仍然没有删除它。

提前致谢。

最佳答案

尝试以下操作:

  • 文件> 使缓存无效/重新启动

IDE 重启后

  • 构建>清理项目
  • 构建 > 重建项目

关于c# - Android 快速入门教程 - 'this project contains resources that were not compiled...',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51950807/

相关文章:

javascript - 根据 DropDownList 的值和模型调用 Action 方法

c# - 使用 .Net Core 3.0 访问 SerialPort 类

c# - 在 Visual Studio 2010 中将项目添加到项目

c# - DispatcherTimer 使用 MVVM 更新 TextBlock

c# - 如何访问 Windows 窗体中动态创建的复选框

android - 如何进行应用内购买去除广告

android - 图库安卓 :unselectedAlpha

android - eglGetError() 报告错误成功

Android 为 FLAG_TRANSLUCENT 禁用 ActionBar 和 NavigationBar 的覆盖

android - 我们可以在 LinearLayout 中使用 ScrollView 吗?