VS2017预览错误 - 您需要添加对Mono.Android.Export.dll

时间:2017-10-14 01:41:21

标签: xamarin.forms xamarin.android visual-studio-2017

我现有的xamarin表单项目工作正常,使用vs 2017专业版没有任何错误。我用VS2017预览企业打开了同样的项目来使用实时播放器等。但同样的项目没有编译就可以了。它返回错误

C:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1789,3): error XA4210: You need to add a reference to Mono.Android.Export.dll when you use ExportAttribute or ExportFieldAttribute.

我已经在android项目上有一个参考,如下所示。它可能是预览版中的错误吗?因为同样的项目在VS 2017稳定版中工作正常

enter image description here

0 个答案:

没有答案