XamlGtask 不支持 XamlFiles 参数 [英] XamlFiles parameter is not supported by XamlGtask

查看:38
本文介绍了XamlGtask 不支持 XamlFiles 参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I just loaded my xaml solution and tried debugging and I got these errors. Earlier in the day I updated my Xaml but I ran into errors with the corresponding Xcode version. I enabled the managed header and started to download the latest version of Xcode that I could (9.2) and that worked this morning, but it has now stopped working. Any ideas?

/Users/rehamathur/Projects/TestApp/packages/Xamarin.Forms.3.1.0.583944/build/netstandard2.0/Xamarin.Forms.targets(4,4):错误 MSB4064:XamlFiles"参数不受支持XamlGTask"任务.验证任务上存在参数,并且它是一个可设置的公共实例属性.(MSB4064) (TestApp.iOS)

/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):错误 MSB4063:无法使用其初始化XamlGTask"任务输入参数.(MSB4063) (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.

After some more searching around I came upon this github thread dealing with the exact same issue: https://github.com/xamarin/Xamarin.Forms/issues/2975.

我更新了我的 android 软件包并将目标更改为最新版本,清理了解决方案并重新启动了 IDE,并且工作正常.

I updated my android packages and changed the target to the latest version, cleaned the solution and restarted the IDE and that worked.

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

If anybody, however, can explain what the error means, that would be much appreciated.

这篇关于XamlGtask 不支持 XamlFiles 参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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