Xamarin.Form XamlCompilation错误:值不能为空,参数名称:方法 [英] Xamarin.Form XamlCompilation error: Value cannot be null, Parameter name: method
问题描述
我在Windows 10上使用VS 2015,Xamarin for VS的最新版本是几天前(2016年11月11日左右)更新
I'm using VS 2015 on Windows 10, Xamarin for VS is latest version updated few day ago, around 02/11/2016
当我在App.cs中为名称空间添加XAML编译时
When I add the XAML compilation for namespace in App.cs
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace MyNameSpace
{
public class App:Application{...}
}
我的所有.xaml文件生成错误,并显示以下消息:
All my .xaml file build error with message:
Value cannot be null
Parameter name: method
即使我创建了新的空XAML,该错误仍然包括在内. 任何人都有这个问题的经验,并且知道如何解决.
Even I create new empty XAML, the error still included. Anyone experience with this issue and knowing how to fix it.
PS:旨在添加此行以尝试改善性能
PS: Purpose to adding this line to try to improve performance
推荐答案
我更新了Xamarin Form的最新版本(当前为3.3.2.1)之后. 这不见了.
After I updated the latest version of Xamarin Form (currently is 3.3.2.1). This is gone.
这篇关于Xamarin.Form XamlCompilation错误:值不能为空,参数名称:方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!