Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UWP build error #7

Closed
hupo376787 opened this issue Jun 5, 2018 · 4 comments
Closed

UWP build error #7

hupo376787 opened this issue Jun 5, 2018 · 4 comments

Comments

@hupo376787
Copy link

Solution unoplatform/uno#5 not work.

Error Generation failed for aa. System.AggregateException: One or more errors happened ---> System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask2.SpoolingWork() 在 System.Linq.Parallel.SpoolingTaskBase.Work() 在 System.Linq.Parallel.QueryTask.BaseWork(Object unused) 在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o) 在 System.Threading.Tasks.Task.InnerInvoke() 在 System.Threading.Tasks.Task.Execute() --- 内部异常堆栈跟踪的结尾 --- 在 System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) 在 System.Linq.Parallel.SpoolingTask.SpoolStopAndGo[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream2 partitions, SynchronousChannel1[] channels, TaskScheduler taskScheduler) 在 System.Linq.Parallel.DefaultMergeHelper2.System.Linq.Parallel.IMergeHelper.Execute()
在 System.Linq.Parallel.MergeExecutor1.Execute() 在 System.Linq.Parallel.MergeExecutor1.Execute[TKey](PartitionedStream2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId) 在 System.Linq.Parallel.PartitionedStreamMerger1.Receive[TKey](PartitionedStream2 partitionedStream) 在 System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) 在 System.Linq.Parallel.QueryOperator1.GetOpenedEnumerator(Nullable1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings) 在 System.Linq.Parallel.QueryOpeningEnumerator1.OpenQuery()
在 System.Linq.Parallel.QueryOpeningEnumerator1.MoveNext() 在 System.Linq.ParallelEnumerable.ToList[TSource](ParallelQuery1 source)
在 z.c()
在 aa.Execute(SourceGeneratorContext context)
在 Uno.SourceGeneration.Host.SourceGeneratorHost.<>c__DisplayClass2_0.b__13(ValueTuple2 generatorDef) 位置 C:\projects\uno-sourcegeneration\src\Uno.SourceGenerationHost.Shared\SourceGeneratorHost.cs:行号 150 ---> (内部异常 #0) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found 在 ad.c(String A_0) 在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12)
在 z.a.e(ac A_0)
在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index) 在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index)
在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey) 在 System.Linq.Parallel.StopAndGoSpoolingTask2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常 #1) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常 #2) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常 #3) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常 #4) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常 #5) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常 #6) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<---

---> (内部异常 #7) System.InvalidOperationException: The type Windows.UI.Xaml.ElementStub could not be found
在 ad.c(String A_0)
在 ad..ctor(ac A_0, String A_1, String A_2, n A_3, String A_4, DateTime A_5, String[] A_6, String[] A_7, Boolean A_8, af A_9, Boolean A_10, Dictionary2 A_11, Boolean A_12) 在 z.a.e(ac A_0) 在 System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index)
在 System.Linq.Parallel.QueryResults1.get_Item(Int32 index) 在 System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
在 System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()<--- Uno.UI.Demo.UWP

@jeromelaban
Copy link
Member

This is actually caused by unoplatform/uno#5.

You need to update the Uno.UI package to the latest available version, this will fix the UWP build issue.

@hupo376787
Copy link
Author

Hi, there. Actually, mine are the latest package. I just downloaded the zip from this repo.
image

@jeromelaban jeromelaban reopened this Jun 5, 2018
@jeromelaban
Copy link
Member

@hupo376787 this is interesting. You should be seeing 1.31.0-dev.8. Can you make sure to clear your nuget cache ?

@hupo376787
Copy link
Author

Hi, I found the reason. The package source is set to "Local cache" when I unzip the sln. I changed to all, then 1.31.3-dev.8 comes.
Thx.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants