Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

Something Went Wrong

Open iwanglei1 opened this issue 10 months ago • 0 comments

Describe the bug

System.NullReferenceException: 未将对象引用设置到对象的实例。 在 Microsoft.Templates.Core.Gen.GenController.ValidateUserSelection(UserSelection userSelection, Boolean isNewProject) 在 Microsoft.Templates.Core.Gen.NewProjectGenController.<UnsafeGenerateProjectAsync>d__4.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Microsoft.Templates.UI.Services.GenerationService.<GenerateProjectAsync>d__5.MoveNext()

To Reproduce

win11 vs2022 .net9.0 按照教程创建Demo示例时出现

Image

Expected behavior

No response

Avalonia version

11.3.0

OS

No response

Additional context

No response

iwanglei1 avatar May 28 '25 09:05 iwanglei1