Я установил Visual Studio для Mac и запустил новое решение.Я должен иметь возможность предварительного просмотра на экране Android (см. В приложении), но не могу заставить его работать.Есть идеи? снимок экрана
Вот подробности. Это сообщение об ошибке внутри предварительного просмотра Android: System.NullReferenceException: ссылка на объект не установлена для экземпляра объекта в Xamarin.AndroidDesigner.CodeInteractions.CodeModelBridge.b__31_0 (Microsoft.CodeAnalysis.AttributeData a) [0x00000] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner.CodeIntelB.403 в предикате System.Linq.ImmutableArrayExtensions.Any [T] (предикат System.Collections.Immutable.ImmutableArray 1[T] immutableArray, System.Func
2 [T, TResult]) [0x00025] в <36486b016d234fca8cd67892bf29c7b-кодировке.(Тип Microsoft.CodeAnalysis.INamedTypeSymbol) [0x00008] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner.CodeInteraridgeBCв Xamarin.AndroidDesigner.CodeInteractions.CodeModelBridge.GetAndroidEntityForType(Тип Microsoft.CodeAnalysis.INamedTypeSymbol) [0x00001] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner.CodeInteralB0в Xamarin.AndroidDesigner.CodeInteractions.CodeModelBridge.b__26_2 (Microsoft.CodeAnalysis.INamedTypeSymbol t) [0x00000] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/XaaDroid.AndroidDesigner.CodeInteractions / CodeModelBridge.cs: 311 в System.Linq.Utilities + <> c__DisplayClass1_0 1[TSource].<CombinePredicates>b__0 (TSource x) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.Linq/src/System/Linq/Utilities.cs:58
at System.Linq.Enumerable+WhereSelectEnumerableIterator
2 [TSource, TResult] .ToList () [0x0001b] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono-x64 / external / corefx / src / System.Linq / src / System / Linq / Where.cs: 737 в System.Linq.Enumerable.ToList [TSource] (System.Collections.Generic.IEnumerable 1[T] source) [0x0000e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.Linq/src/System/Linq/ToCollection.cs:30
at Xamarin.AndroidDesigner.CodeInteractions.CodeModelBridge+<GetCustomComponentsInProject>d__26.MoveNext () [0x00147] in /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner.CodeInteractions/CodeModelBridge.cs:308
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.TaskAwaiter
1 [TResult] .GetResult () [0x00000] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono-x64 / MCS / класс / referencesource / mscorlib / система / гuntime / compilerservices / TaskAwaiter.cs: 357 в Xamarin.AndroidDesigner.DesignerProject + d__101.MoveNext () [0x00025] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/Xamarin.AndroidDesigner / Xamarin.AndroidDesigner / DesignerProject.cs: 300 --- Конец трассировки стека из предыдущего расположения, в котором было сгенерировано исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] в /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs: 187 в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (задача System.Threading.Tasks.Task) [0x00028] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbu/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 at System.Runtime.CompilerServices.TaskAwaiter.ValidateКонец (задача System.Threading.Tasks.Task) [0x00008] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono-x64 / mcs / class /linksource / mscorlib / system / runtime / compilerservices / TaskAwaiter.cs: 128 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono-x64 / mcs / class /ferencesource / mscorlib / system / runtime / compilerservices / TaskAwaiter.cs: 113 в Xamarin.AndroidDesigner.DesignerProject + d__102.MoveNext () [0x00020] в / Users /VSTS / агент / 2.133.3 / работа / 1 / S / Xamarin.Designer.Android / Xamarin.AndroidDesigner / Xamarin.AndroidDesigner / DesignerProject.cs: 307--- Конец стека трассировки от предыдущего местоположения, где было сгенерировано исключение ---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (задача System.Threading.Tasks.Task) [0x00037] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
в System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (задача System.Threading.Tasks.Task) [0x00008] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
в System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono-x64 / mcs / class /referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
в Xamarin.AndroidDesigner.DesignerProject + d__54.MoveNext () [0x0038a] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/Xamarin.AndroidDesigner/Xamarin.AjectroidDesigner.Xid : 141
--- Конец стека трассировки от предыдущего местоположения, где было сгенерировано исключение ---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (задача System.Threading.Tasks.Task) [0x00037] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
в System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (задача System.Threading.Tasks.Task) [0x00008] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
в System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono-x64 / mcs / class /referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
в Xamarin.AndroidDesigner.AndroidDesignerService + d__57.MoveNext () [0x0005a] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Android/Xamarin.AndroidDesignA/XermarDesigner/Xamarin. : 464
--- Конец стека трассировки от предыдущего местоположения, где было сгенерировано исключение ---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (задача System.Threading.Tasks.Task) [0x00037] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
в System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (задача System.Threading.Tasks.Task) [0x00008] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128в System.Runtime.CompilerServices.TaskAwaiter 1[TResult].GetResult () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:357
at Xamarin.Designer.Forms.XamarinStudioXamlPreviewerView+<InitializeAndroidDesignerProject>d__65.MoveNext () [0x00122] in /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Forms/Xamarin.FormsPreviewer.MonoDevelop/Xamarin.Designer.Forms/XamarinStudioXamlPreviewerView.cs:542
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.TaskAwaiter
1 [TResult] .GetResult () [0x00000] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / моно-x64 / MCS / класс / referencesource / mscorlib / система / время выполнения / compilerservices / TaskAwaiter.cs: 357
в Xamarin.Designer.Forms.Preview.AndroidXamlRenderer + d__15.MoveNext () [0x00078] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview /Android/AndroidXamlRenderer.cs:78
--- Конец стека трассировки от предыдущего местоположения, где было сгенерировано исключение ---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (задача System.Threading.Tasks.Task) [0x00037] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
в System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (задача System.Threading.Tasks.Task) [0x00008] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
в System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono-x64 / mcs / class /referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
в Xamarin.Designer.Forms.Preview.AndroidXamlRenderer + d__17.MoveNext () [0x0004b] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview /Android/AndroidXamlRenderer.cs:122
--- Конец стека трассировки от предыдущего местоположения, где было сгенерировано исключение ---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (задача System.Threading.Tasks.Task) [0x00037] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
в System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (задача System.Threading.Tasks.Task) [0x00008] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds /mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
в System.Runtime.CompilerServices.TaskAwaiter`1 [TResult] .GetResult () [0x00000] в / Users / builder / jenkins / workspace / build-package-osx-mono / 2018-02 / external / bockbuild / builds / mono- x64 / MCS / класс / referencesource / mscorlib / система / время выполнения / compilerservices / TaskAwaiter.cs: 357
в Xamarin.Designer.Forms.Preview.AndroidXamlRenderer + d__18.MoveNext () [0x000a0] в /Users/vsts/agent/2.133.3/work/1/s/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview /Android/AndroidXamlRenderer.cs:197