Creep
Creep

Reputation: 310

Missing references after fresh install of system

I reinstall my whole system, visual studio, and packages (control suite, crystal reports and so on), and download my solution from team foundation. When I try to rebuild it, I get missing references warning and it does not work :

missing references

When I check, all nugets package are (physically) here. The thing which annoys me the more is that even System, System.Data,... are in warning state. Anybody already had this problem (and a fix !) ?

I have a lot of project in my solution, and there's only a part of them which screw up (sorry for my english, it is not my native language).

Upvotes: 1

Views: 512

Answers (3)

Creep
Creep

Reputation: 310

I had a fix which was to copy all files from my previous disk which were not in TFS and it fixed it all. I am a bit ashamed because I skipped to list them to add util files in TFS. Thanks all for your time.

Upvotes: 1

uopeydel
uopeydel

Reputation: 441

Try this, nuget package restore.

https://learn.microsoft.com/en-us/nuget/consume-packages/package-restore

Upvotes: 3

soymosaic
soymosaic

Reputation: 39

Have you tried adding them manually under Solution Explorer->right-click your project node then-> click Properties. Click on the References tab and re-add them to the project.

Have a look at https://msdn.microsoft.com/en-us/library/ayds71se.aspx for more suggested solutions. Hope this helps

Upvotes: 2

Related Questions