Mvvmcross 升级到 5.6.3 错误 APT0000:检索项目的父项时出错:找不到与给定名称"主题.应用兼容.对话框"匹配的资源



我刚刚将 MvvmCross 从 5.4.2 升级到 5.6.3,现在我收到以下错误对于我的样式.xml文件和主题中的所有内容.xml文件。

我没有更改目标 SDK。我刚刚升级到 5.6.3,出现这些错误,并且在构建应用程序时 Resources.Designer.cs 文件未更新

Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog'.   Styles.xml  2   
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat'.  Styles.xml  2   
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat'.  themes.xml  18  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionBar.Solid'. themes.xml  18  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ListPopupWindow'. themes.xml  18  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionBar'.   themes.xml  18  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ListView.DropDown'.   themes.xml  18  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionBar.TabView'.   themes.xml  18  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ProgressBar.Horizontal'.  themes.xml  20  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionButton.CloseMode'.  themes.xml  20  
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Spinner'. themes.xml  20  
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Widget.ActionBar.Subtitle'.   themes.xml  23  
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Widget.ActionBar.Menu'.   themes.xml  23
我认为

这一定是Visual Studio Nuget升级问题,当我回到5.4.2时,也存在同样的问题。幸运的是,我有一个搁置集,所以我得到了最新的代码并重新应用了搁置集,并且构建工作了。

然后我从 5.4.2 -> 5.5.2 -> 5.6.3 升级,问题没有再次出现

最新更新