the error appeared only after MOVING the project to a different directory - using both xcopy and TFS "Move" tool. So I guess the path to that file was incorrect once moved?
Ok so I followed this instruction and it worked. Whatever this element is in the .csproj file, it was breaking everything:
https://stackoverflow.com/questions/32254439/nuget-packages-are-missing
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>...
Same error and only one error appears:
Severity Code Description Project File Line Suppression State
Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see Troubleshooting...
No - that's the problem, only a few are. Even if I delete and re-add one pointing to the right path, they are still broken. I checked the .csproj file before and after re-adding and the hint path is definitely changing, but I still have the yellow warnings on them
Ok I executed this and it replaced all the packages, but all the references in the whole project are still warnings. Also of note, this project was added to an existing Solution that is in Teams DevOps source control; the project that was added does NOT have a lock next to it, but it does show...
I have an existing Visual Studio solution with many projects. All projects are using .net version 4.7.1 (no core). The solution is composed of WinForms projects, wcf services projects, asp.net projects and MVC projects. All projects are pointing to the same .dll references. Upon adding an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.