Visual Studio project losing references via git

Asked

Viewed 316 times

0

When cloning a project, it is coming with some blank references, having to add manually. This problem only occurs with cloned projects, if you download the project as zip from github, it works normally.

I tried to use the source Tree and the visual studio 2015 itself to download.

Does anyone know how to solve?

inserir a descrição da imagem aqui

1 answer

0

One solution would be to let the VS automatically fix the packages with problem, for this, enable the option Restore Nuget Packages, right click on the project, then just recompile the project.


inserir a descrição da imagem aqui

  • When selecting this option, it returns this message:

  • All Packages are already installed and there is Nothing to Restore.

  • Fez clean afterward rebuid?

  • yes, apparently the Packages are ok, the problem is the path that is getting blank

  • 1

    I did a test, when copying the Packages folder of the project that is working and putting it into the project downloaded with git, it worked. The question is, why when the entire project is downloaded with git it is missing this way...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.