Skip to content

DefaultDokumentationTask task failed unexpectedly #208

@Mbprogramming

Description

@Mbprogramming

The new Version 1.2.1 produced the following error;:

The "DefaultDocumentationTask" task failed unexpectedly.
System.MissingMethodException: Method not found: 'System.String Newtonsoft.Json.Linq.JToken.ToString(Newtonsoft.Json.Formatting)'.
   at DefaultDocumentation.Internal.LoggerHelper.LogStarting(ILogger logger, JObject configuration)
   at DefaultDocumentation.Generator..ctor(Func`2 loggerFactory, IRawSettings settings) in D:\a\DefaultDocumentation\DefaultDocumentation\source\DefaultDocumentation.Common\Generator.cs:line 72
   at DefaultDocumentation.Generator.Execute(Func`2 loggerFactory, IRawSettings settings) in D:\a\DefaultDocumentation\DefaultDocumentation\source\DefaultDocumentation.Common\Generator.cs:line 229
   at DefaultDocumentation.DefaultDocumentationTask.Execute() in D:\a\DefaultDocumentation\DefaultDocumentation\source\DefaultDocumentation\DefaultDocumentationTask.cs:line 69
   at Microsoft.Build.BackEnd.TaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

Previews version works fine.

NewtonSoft.Json Package is 13.0.4 (the current one, I think)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions