You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methodnot found: 'System.String Nuke.Common.Tooling.ToolPathResolver.GetPackageExecutable(System.String, System.String, System.String)'.
at Nuke.DocFX.DocFXTasks.get_DocFXPath()
at Nuke.Common.Tooling.ProcessTasks.StartProcess(ToolSettings toolSettings)
at Nuke.DocFX.DocFXTasks.DocFXBuild(DocFXBuildSettings toolSettings)
at Build.<>c.<get_Doc>b__28_1()in C:\Code\CreateAndFake\build\nuke\Build.cs:line 157
at Nuke.Common.Utilities.Collections.EnumerableExtensions.ForEach[T](IEnumerable`1 enumerable, Action`1 action)
at Nuke.Common.Execution.BuildExecutor.Execute(NukeBuild build, ExecutableTarget target, IReadOnlyCollection`1 previouslyExecutedTargets, Boolean failureMode)
at Nuke.Common.Utilities.Collections.EnumerableExtensions.ForEach[T](IEnumerable`1 enumerable, Action`1 action)
at Nuke.Common.Execution.BuildExecutor.Execute(NukeBuild build, IReadOnlyCollection`1 skippedTargets)
at Nuke.Common.Execution.BuildManager.Execute[T](Expression`1[] defaultTargetExpressions)
Possible Solution
Nuke.DocFX needs to be recompiled with latest Nuke.Common.
Optional parameters don't create overloaded methods, they instead instruct the compiler to fill in the default for the method call if missing. So they are a breaking change just like adding a parameter normally is.
The text was updated successfully, but these errors were encountered:
Expected Behavior
DocFXTasks methods work with latest versions.
Current Behavior
Possible Solution
Nuke.DocFX needs to be recompiled with latest Nuke.Common.
Steps to Reproduce
Additional Information
Method signature was changed between version 0.21.2 and 0.22.0:
Optional parameters don't create overloaded methods, they instead instruct the compiler to fill in the default for the method call if missing. So they are a breaking change just like adding a parameter normally is.
The text was updated successfully, but these errors were encountered: