我刚刚下载了 Visual Studio 并创建了一个新的 Xamarin.Forms 项目。但是,当使用自动生成的代码构建应用程序时,我在 MainPage.xaml 的代码隐藏中遇到了以下错误:
The name 'InitializeComponent' does not exist in the current context
我在互联网上查找了解决方案,但没有找到适合我的解决方案。我尝试过的:
更改 MainPage.xaml 属性中的自定义工具(之前为空)
我检查了命名空间是否匹配(确实如此)
我尝试保存所有文件
| 归档时间: |
|
| 查看次数: |
3480 次 |
| 最近记录: |