I've never worked with VS and .NET before and I don't have much programming experience overall either (am a QA by trade, only gotten into test automation recently, which might explain the format of this question to you ;)), so I'm a bit out of my element here. I've tried all ideas that came to my mind and those that I saw in Google but still can't fix this on my own.
Steps
- Fresh install of VS 2019 via VS Installer from MS
- Clone repository from Bitbucket via VS; the repo includes a dependency on system.IO and System.Linq
- Attempt to Build Solution
Error result
Error NU3008 Package 'System.Linq 4.3.0' from source 'https://api.nuget.org/v3/index.json': The package integrity check failed. Error NU3008 Package 'System.IO 4.3.0' from source 'https://api.nuget.org/v3/index.json': The package integrity check failed.
It works for a coworker, even if he checks out some code changes that I push out while having this error.
Attempted fixes
Delete caches through NuGet package manager UI, change to a different branch and see if it works there, remove and re-clone the repo, reinstall VS, update packages, wipe everything related to VS and .NET then reinstall, manually remove the System.io and System.linq DLLs then rebuild or update packages, modify components installed with VS, delete everything from %userprofile%.nuget\packages to force NuGet to redownload everything. Nothing helped.
My intuition is that the signature shipped from NuGet is out of date somehow? Since when I remove all local packages, clean cache, then make a new, clean project, literally with only 'Hello World' that auto-generates, and then only try to install the System.IO or System.Linq packages manually via package manager, I get the same error.
The question
Is there anything I can do here, something on my side that might be causing this, or do I need to contact NuGet?