xamarin - XamlGtask不支持XamlFiles参数

标签 xamarin

我刚加载我的xaml解决方案并尝试调试,但出现了这些错误。当天早些时候,我更新了Xaml,但是在使用相应的Xcode版本时遇到了错误。我启用了托管 header ,并开始下载我可以使用的最新版本的Xcode(9.2),并在今天早上开始工作,但是现在它停止工作。有任何想法吗?

/Users/rehamathur/Projects/TestApp/packages/Xamarin.Forms.3.1.0.583944/build/netstandard2.0/Xamarin.Forms.targets(4,4): Error MSB4064: The "XamlFiles" parameter is not supported by the "XamlGTask" task. Verify the parameter exists on the task, and it is a settable public instance property. (MSB4064) (TestApp.iOS)

/Users/rehamathur/Projects/TestApp/packages/Xamarin.Forms.3.1.0.583944/build/netstandard2.0/Xamarin.Forms.targets(3,3): Error MSB4063: The "XamlGTask" task could not be initialized with its input parameters. (MSB4063) (TestApp.iOS)

最佳答案

更新:

经过更多搜索之后,我遇到了这个github线程,它处理了完全相同的问题:https://github.com/xamarin/Xamarin.Forms/issues/2975

我更新了我的android程序包,并将目标更改为最新版本,清理了解决方案,然后重新启动了IDE,这样就可以了。

但是,如果有人可以解释该错误的含义,将不胜感激。

关于xamarin - XamlGtask不支持XamlFiles参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51273331/

相关文章:

android - 在 android/Xamarin.Android 中单击通知时切换到运行 Activity

azure - 如何结合 AD B2C(MSAL) 和 CosmosDB

ios - Xamarin Forms 中的推送通知

ios - Xamarin 表单 - ios 上的菜单图标

xamarin - 以 Xamarin 形式对齐标签和开关

c# - 如何更改 Xamarin.Droid 中选项卡式页面指示器的颜色?

c# - 如何使用 Xamarin 表单的 Button.ContentLayout 属性?

c# - 将 UIImageView 添加到 UIAlertController

.net - 如果附加了调试器,为什么我的堆栈跟踪仅包含行号?

Xamarin.Forms (UWP) - 如何获取 WebView 的 DOM 作为 HTML 字符串?