Xamarin Resource.Designer.cs 不刷新新 ID 或事件 [英] Xamarin Resource.Designer.cs not refreshing new id's or events

查看:35
本文介绍了Xamarin Resource.Designer.cs 不刷新新 ID 或事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在 Xamarin 工作,我的事件和布局有问题,因为我添加了新东西,但布局没有刷新,他们只是继续显示旧布局,而我添加的新事件也有同样的问题,他们只是忽略我的新代码,我已经看到了一些链接,他们说这是因为 Resource.Designer.cs 没有刷新但从未给出任何解决方案任何想法?.

So im working in Xamarin and i had a problem with my events and layouts because i added new stuff but the layouts didn't refresh they just kept displaying the old layouts and the new events i added had the same problem they are just ignoring my new code i already saw a few links and they said this happens because the Resource.Designer.cs is not refreshing but never gave any solutions any ideas? .

更新:没有构建错误,但布局仍然不会刷新.

UPDATE: There are no build errors but still the layouts won't refresh.

推荐答案

好的,首先感谢大家的帮助,这个问题只发生在我的一个布局(登录)上,其他的正在更新,这个问题是之所以发生这种情况,是因为我从我之前做过的另一个解决方案中导入了这个布局,该解决方案有一个 .gif 文件的问题,并从那个 1º 解决方案中删除了一些文件,我创建了另一个布局,它工作正常,谢谢大家.

Ok first of all thanks everyone for your help and the problem was only happenign to one of my layouts (Login) the other ones were updating just fine this problem was happening because i imported this layout from another solution i did earlier that had a problem with a .gif file and deleted a few files from that 1º solution i created another layout and its working fine thanks everyone.

这篇关于Xamarin Resource.Designer.cs 不刷新新 ID 或事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆