When building the project error:

.vs \ restore.dg (1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

How to solve it?

  • one
    A .NET core project with a project json file? - rdorn
  • Yes, progect.json is available - Alex
  • @rdorn global.json: {"sdk": {"version": "1.0.0-preview2-003131"}} - Alex
  • On one machine, compiled, on which it was being finalized, on the other there is not (flooded with the gita) - Alex
  • What can this mistake mean? Google didn’t answer anything sensible - Alex

0