For me, even though I've enabled the long path support from Windows' Group Policy Editor, the only thing that resolved the issue, was moving the project to a shorter path (e.g. the root C directory).
It was a long path issue ultimately!