Severity Code Description Project File Line Suppression State
Error The "GenerateCodeFromAttributes" task failed unexpectedly.
System.InvalidOperationException: Unable to find code generator: ImmutableObjectGraph.Generation.CodeGenerator, ImmutableObjectGraph.Generation, Version=1.1.0.0, Culture=neutral, PublicKeyToken=bfd91f1bd601e0d7
at Validation.Verify.Operation(Boolean condition, String unformattedMessage, Object arg1)
at CodeGeneration.Roslyn.DocumentTransform.<FindCodeGenerators>d__3.MoveNext()
at CodeGeneration.Roslyn.DocumentTransform.<TransformAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at CodeGeneration.Roslyn.Tasks.GenerateCodeFromAttributes.Helper.<<Execute>b__36_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at CodeGeneration.Roslyn.Tasks.GenerateCodeFromAttributes.Helper.Execute()
at CodeGeneration.Roslyn.Tasks.GenerateCodeFromAttributes.Helper.Execute()
at CodeGeneration.Roslyn.Tasks.GenerateCodeFromAttributes.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() ImmutableStuff
Create a new class library targeting .NET 4.5.2 with the latest version 1.1.68-beta from nuget and it fails to build with the following error