Hello,
What Unity version are you using please? Apparently, Unity also decided to use the same name “Task”.
In what files specifically are you getting this error please?
Have you tried explicitly specifying the namespace. The correct namespace should be “NodeCanvas.Framework.Task”.