[英]Xamarin not compiling in Visual Studio 2015
I am trying to develop a Xamarin app for Android in VS 2015 (Enterprise). 我正在尝试在VS 2015(企业版)中为Android开发Xamarin应用。 I have installed Xamarin on my computer however when I try to use any of the Xamarin functions they will not compile.
我已经在计算机上安装了Xamarin,但是当我尝试使用任何Xamarin函数时,它们将无法编译。 This happens with all calls to Xamarin classes but lets look at one in particular.
所有对Xamarin类的调用都会发生这种情况,但让我们特别看一下。
When I try to use ExportRenderer
it says the type or namespace cannot be found. 当我尝试使用
ExportRenderer
,提示找不到类型或名称空间。 However, I have using Xamarin.Forms
in my using directives but VS complains it is never used even with all the calls to functions that should come from Xamarin.Forms
. 但是,我在我的using指令中
using Xamarin.Forms
,但是VS抱怨说,即使所有应该来自Xamarin.Forms
函数调用都从未使用Xamarin.Forms
。
Thank you in advance! 先感谢您!
对我有用的解决方案是使用NuGet将Xamarin.Forms从2.1.0.6529回滚到2.1.0.6526
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.