Due to some git project changes, when I try to build, I get an error:
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\MSTest.TestAdapter.1.1.11\build\net45\MSTest.TestAdapter.props.
The references to the project contain four missing references, two of which Microsoft.VisualStudio.TestPlatform.TestFramework
, and Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
which seem to be related.
The other two, in case it proves to be relevant are System
, and System.Core
, but they aren't causing any problems... which is weird, cause I'm definately using them.
That missing file, the one from the error message, is absolutely there.
I've tried to uninstall and reinstall both packages, but nothing seems to help.
dotnet restore <sln file name>
instead ofnuget restore <sln file name>
before runningdotnet build <sln file name>
. Withnuget restore <sln file name>
it started to work. – tolache